Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Getting the model class from active record relation

Unique foreign key in rails migration

Rails belongs_to_many

how to handle ActiveRecord::RecordNotFound in rails controller?

Postgresql and ActiveRecord where: Regex matching

Yii2: How to set default attribute values in ActiveRecord?

Remove a 'where' clause from an ActiveRecord::Relation

Rails callback for the equivalent of "after_new"

Checking if ActiveRecord find returns a result

query where date = Date.today with Rails, MySQL, and Active Record

Sum on multiple columns with Activerecord

How to set transaction isolation level using ActiveRecord connection?

How do I specify shared attributes translations between models in I18n locale file?

get a list of all models from rails [duplicate]

Codeigniter Active record: greater than statement

Applying a different order to postgres "DISTINCT ON" using rails

Rails invalid datetime on model results in nil

"NoMethodError (undefined method `with_indifferent_access' for..." when passing it nested attributes

Rails: Multiple or conditions in ActiveRecord

Why does Sidekiq not close old connections?