Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails optional belongs_to

validates_uniqueness_of passes on nil or blank (without allow_nil and allow_blank)

Difference between after_create, after_save and after_commit in rails callbacks

How to select count with Laravel's fluent query builder?

Rails model without database

ActiveRecord find_each combined with limit and order

Remove order from ActiveRecord scope

accepts_nested_attributes_for child association validation failing

Using Active Record generators after Mongoid installation?

Is there a way to avoid automatically updating Rails timestamp fields?

How can I know when to "refresh" my model object in Rails?

When do I use save!, create! and update_attributes! in Rails?

Rails 3 / Form without Model: How do I create a form that is not tied to a model?

Getting types of the attributes in an ActiveRecord object

Alias for column names in Rails

Sort array returned by ActiveRecord by date (or any other column)

ActiveRecord OR query Hash notation

Rails 3 skip validations and callbacks

ActiveRecord Find By Year, Day or Month on a Date field

In Rails, what's the difference between find_each and where?