Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

has_many :through a has_and_belongs_to_many association

Understanding Simple ActiveRecord Updates in Rails

Way to view Rails Migration output

Rails accepts_nested_attributes_for Error, please help me spot it

Connecting to an MSSQL database from a Ruby on Rails application running on Ubuntu

Yii find models through many_many relationship

Cannot access attr_accessor defined variables

Select only one column from multiple rows in codeigniter. How to and is this more efficient?

has_many and :after_add / :before_add => callback for << and create methods

Convert ActiveRecord habtm query to Arel

Rails 4 .order() gets mangled with JOINS

Ordering by specific value in Activerecord

Yii - echo the last query

Model Validation in Rails to test if a number can be nil or some positive integer

Active Record includes with STI

ActiveRecord destroy_all

What is the difference between a ORM, AR, QB, & DM?

When to use association extensions vs named scopes?

Rails ActiveRecord Find with Date

How do I create the view for the has_one association?