rendering_nothing_on_layout() Instance Public methods
changed_for_autosave?() Instance Public methods Returns whether or not this record has been changed in any way (including whether any of its nested autosave associations are likewise changed)
case_insensitive_comparison(table, attribute, column, value) Instance Public methods
env_config() Instance Public methods Defines additional Rack env configuration that is added on each call.
to_a() Instance Public methods Alias for: expanded
namespaced_class_path() Instance Protected methods
new(format) Class Public methods
new(filters = []) Class Public methods
sunday() Instance Public methods Returns Sunday of this week assuming that week starts on Monday. DateTime objects have their time set to 23:59:59.
joins(*args) Instance Public methods Performs a joins on args: User.joins(:posts) => SELECT "users".* FROM "users" INNER JOIN "posts" ON "posts"."user_id" = "users"."id" You can use strings in order to customize your joins: User.joins("LEFT JOIN bookmarks ON bookmarks.bookmarkable_type = 'Post' AND bookmarks.user_id = users.id") => SELECT "users".* FROM "users" LEFT JOIN bookmarks ON bookmarks.bookmarkable_type = 'Post' AND bookmarks.user_id = users.id
Page 118 of 2275