Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Error loading Active Record gem with sinatra app using RVM

Is there some offcial Active Record error translation in spanish?

ActiveRecord: Pass class instead of string to class_name when defining associations

Receiving "Attempted to update a stale object: User" exception when updating current_user before logging out

Difference between ActiveRecord and ActiveRecord::Relation objects

Ruby types of collections in ActiveRecord

ruby activerecord

Rails - Add Record to join table from controller

Get a list of validation rules in Rails 3?

How can i loop through a daterange with different intervals?

Trouble with accepts_nested_attributes_for in Rails 5.0.0.beta3, -api option

How to pluck "as alias_name" from rails active record query

ActiveRecord find all parents that have associated children

Rails : belongs_to and has_many using non-standard ids

Multiple sum()s in ActiveRecord in Rails

Rails3: combine scope with OR

Rails 3 ActiveRecord validation based on user permissions

Rails / ActiveRecord: detect if a column is an association or not

Rails ActiveRecord object not saving

Rails 4.1 Enums: enum.status = nil

How to query a model based on attribute of another model which belongs to the first model?