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
users table schemaCommon Methods and Attributes.
first_time?()
first_time?()Usage
platform
platformUsage
context
contextUsage
exit_context()
exit_context()Usage
reschedule_message(tag=Symbol, send_at=Time)
reschedule_message(tag=Symbol, send_at=Time)Usage
scheduled_message?(tag=Symbol)
scheduled_message?(tag=Symbol)Usage
destroy_scheduled_messages(tag=Symbol)
destroy_scheduled_messages(tag=Symbol)Usage
messenger_recurring_notification_data()
messenger_recurring_notification_data()Usage
messenger_recurring_notification?()
messenger_recurring_notification?()Usage
vars
varsSaving data
Retrieving data
Deleting data
set_locale(locale=Symbol)
set_locale(locale=Symbol)Usage
Customization Example
Adding email field in users table.
Editing User model
Testing
Last updated
Was this helpful?