Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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?

Rails ActiveRecord :joins with LEFT JOIN instead of INNER JOIN

Rails 3 + activerecord, the best way to "mass update" a single field for all the records that meet a condition

Rails Active Record find(:all, :order => ) issue

ActiveRecord::StatementInvalid: PG InFailedSqlTransaction

With Rails 4, Model.scoped is deprecated but Model.all can't replace it

Ruby Activerecord IN clause

ruby activerecord

How to select rows where column value IS NOT NULL using CodeIgniter's ActiveRecord?

How do I replace accented Latin characters in Ruby?

Rails: what does schema.rb do?