Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

sql injection prevention for create method in rails controller

PostgreSQL + Rails citext

Adding a computed column to an ActiveRecord query

Override ActiveRecord << operator on has_many :through relationship, to accept data for the join model

Is there a clean way to test ActiveRecord callbacks in Rspec?

rails 3 getting the count of the records that have more than one associate records (has_many)

Rails change column type and update column values

Yii2 : Active Record Column Aliases

activerecord alias yii2

Rails 4 update_all and set value from another field

broken create, save, update, and destroy on Join record when using Postgres UUIDs in Rails

How to iterate ActiveRecord Attributes, including attr_accessor methods

ActiveRecord for Erlang

How do I override generic activerecord error messages in ruby-on-rails?

Restrict the columns represented in ActiveRecord

Unescape special characters correctly from the URL in Rails 3.0.3

SQL join in CodeIgniter with Active Record

Rails model with multiple instances of a single 'has_one" model

What is the difference between the Rails datatypes?

Rails Associations with Modules

How do you access an object's (ActiveRecord::Relation) value by key in Ruby on Rails?