new(controller, app) Class Public methods
compact() Instance Public methods Returns a hash with non nil values. hash = { a: true, b: false, c: nil} hash.compact # => { a: true, b: false} hash # => { a: true, b: false, c: nil} { c: nil }.compact # => {}
find_or_initialize_by(attributes, &block) Instance Public methods Like find_or_create_by, but calls new instead of create.
insert(*args, &block) Instance Public methods Alias for: insert_before
namespace(name=nil) Class Public methods Convenience method to get the namespace from the class name. It's the same as Thor default except that the Generator at the end of the class is removed.
remove_silencers!() Instance Public methods Will remove all silencers, but leave in the filters. This is useful if your context of debugging suddenly expands as you suspect a bug in one of the libraries you use.
test_becomes_and_change_tracking_for_inheritance_columns() Instance Public methods
migrations_paths() Instance Public methods Returns the migrations paths. ActiveRecord::Schema.new.migrations_paths # => ["db/migrate"] # Rails migration path by default.
setup_fixtures(config = ActiveRecord::Base) Instance Public methods
update_attributes!(attributes) Instance Public methods Alias for: update!
Page 36 of 2275