Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Why polymorphic association doesn't work for STI if type column of the polymorphic association doesn't point to the base model of STI?

Batch insertion in rails 3

What does Post.all.map(&:id) mean? [duplicate]

Non persistent ActiveRecord model attributes

Get columns names with ActiveRecord

Rails SQL regular expression

Rails: HasManyThroughAssociationNotFoundError

How to override :order defined in a has_many

ActiveRecord find starts with

Error Handling in ActiveRecord Transactions?

INSERT multiple records using ruby on rails active record

Find model records by ID in the order the array of IDs were given

How to order included elements in Rails 3

hash['key'] to hash.key in Ruby

ruby activerecord hash

How can I translate ActiveRecord model class name?

Ruby on Rails: how to get error messages from a child resource displayed?

Index for multiple columns in ActiveRecord

Rails 3 devise, current_user is not accessible in a Model ?

rescue from ActiveRecord::RecordNotFound in Rails

Ruby on Rails ActiveRecord query using a join