Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

Get average of attribute through 'has_many'

Performing a function to check for duplicates before saving the record in the model in Rails

How to use a group by clause on an ActiveRecord query using a Hstore key? [closed]

How do I check if an association exists in ActiveRecord from inside a model?

How can I get Rails 5 to play nicely with a primary key that has a period in it?

Are there advantages to using foreign key constraints when working in an active record framework like ruby-on-rails?

RSpec model test testing encrypted attribute randomly failing with "key_derivation_salt is not configured"

How to disable all active record validations?

Rails Can't remove "\r\n" from record

Fabrication gem cyclic dependency

Not able to get url from uploaded image, undefined method `url' error on has_many associated model

Rails get all objects through a belongs_to association

create calls before_save multiple times

Load several ActiveRecord models in one query

How to strip column values in Active record through loop before saving in rails framework?

Overriding default ActiveRecord migration used to create tables in Rails 4

Combining an ActiveRecord Date and Time into a DateTime

Learning Rails -> Setup a Cookbook App