User model
It is one of the models that is predefined in a new project and is associated with the users table in the database.
Location
class User < ActiveRecord::Base
endusers table schema
Common Methods and Attributes.
first_time?()
Usage
platform
Usage
context
Usage
exit_context()
Usage
reschedule_message(tag=Symbol, send_at=Time)
Usage
scheduled_message?(tag=Symbol)
Usage
destroy_scheduled_messages(tag=Symbol)
Usage
messenger_recurring_notification_data()
Usage
messenger_recurring_notification?()
Usage
vars
Saving data
Retrieving data
Deleting data
set_locale(locale=Symbol)
Usage
Customization Example
Adding email field in users table.
Editing User model
Testing
Last updated
Was this helpful?