render_with_explicit_unescaped_template() Instance Public methods
new(params={}) Class Public methods Initializes a new model with the given params. class Person include ActiveModel::Model attr_accessor :name, :age end person = Person.new(name: 'bob', age: '18') person.name # => "bob" person.age # => 18
readonly?() Instance Public methods Returns true if the record is read only. Records loaded through joins with piggy-back attributes will be marked as read only since they cannot be saved.
test_dates_and_times() Instance Public methods
render_custom_code() Instance Public methods :ported:
since(seconds) Instance Public methods Returns a new DateTime representing the time a number of seconds since the instance time. Do not use this method in combination with x.months, use months_since instead! in
new() Class Public methods
freeze() Instance Public methods
key?(key) Instance Public methods Also aliased as: include?
request_http_digest_authentication(realm = "Application", message = nil) Instance Public methods Render output including the HTTP Digest authentication header
Page 176 of 2275