Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

What is the fastest way to create mass HABTM associations in Rails?

How to order a query by a translated field using globalize

rails has_one of a has_many association

Active Records vs. Repository - pros and cons?

Rails - Active Record: add extra select column to find(:all)

What units is timeout in Rails database.yml?

How do you route [OPTIONS] in Rails?

What happens when update_all fails?

Is it possible to use ActiveAdmin on a non-ActiveRecord based model (say activeModel or Mongoid, etc)?

Rails 3: using non-Active Record objects with form_for

How to disable password/confirmation validations when using has_secure_password in Rails 3.2?

How to disable ActiveRecord logging for a certain column?

Rails model class method for collection of objects

Type cast an ActiveRecord model virtual attribute

Can Rails ActiveRecord #save method be used to update an existing record? [duplicate]

Rails: Custom validation message

Get foreign key field from associations in Rails

Can I use an ActiveRecord scope as an instance method?

Rails 3 Joins -- Select only certain columns

NoMethodError: undefined method `safe_constantize'