Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to remove validation using instance_eval clause in Rails?

Best way to find a single record using ActiveRecord 3 / Arel?

Postgres on Rails FATAL: database does not exist

Rails Models: how would you create a pre-defined set of attributes?

How to get the latest record from each group in ActiveRecord?

Rails ActiveRecord Query Date Range

rails model has_many of itself

How to implement Active Record inheritance in Ruby on Rails?

Possible to have "polymorphic has_one" relationship in rails?

How to test model's callback method independently?

How to use long id in Rails applications?

How to combine two conditions in a where clause?

Pass array to where in Codeigniter Active Record

activerecord find all NOT included in an array

How do I find out why I couldn't #destroy() a record?

Using question mark character in Rails/ActiveRecord column name

ActiveRecord: Update a record if exists else create?

Separate date and time form fields in Rails

Rails idiom to avoid duplicates in has_many :through

Possible to specify unique index with NULLs allowed in Rails/ActiveRecord?