Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

having trouble testing upload file with Capybara attach_file method

ActiveRecord loads binary field incorrectly on Heroku, fine on OSX

validate and update single attribute rails

Rails 3 - ActiveRecord and reverse sort

Are `save` and `save!` the only methods that persist ActiveRecord objects?

ruby rails-activerecord

Cloning a relation in rails

Loading ActiveRecord fixtures with RSpec without Rails

Undocumented ActiveRecord bang methods

Is it possible to not repeat Rails ActiveRecord where condition arguments?

rails - after_update occurring on .save for new object

How can I test methods in the ApplicationRecord abstract base class?

Rails 3 ignore Postgres unique constraint exception

Rails: How can I tell if a record has a child record in any one of its child tables?

Rails find with a block

How to write scope with belongs_to object?

Rails isn't running destroy callbacks for has_many through join model

Rails: select records with maximum date

Rails scope with boolean

NoMethodError - undefined method 'find_by' for []:ActiveRecord::Relation