Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

Removing has_many :through association doesn't change model's updated_at attribute

How to create a record only if it doesn't exist, avoid duplications and don't raise any error?

Query jsonb column containing array of JSON objects

return custom query select in 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?