Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How do I get the last SQL query performed by ActiveRecord in Ruby on Rails?

Exclude active record set from another recordset?

How do I count items in an array that have a specific attribute value?

Ruby remove duplicate entries in array of hashes but based on more than one value

ActiveRecord::HasManyThroughOrderError: Cannot have a has_many :through association

Creating a Rails dropdown for related database

How do I pick the last and the second to last entries in a blog model?

Rails 3 DateTime Comparison w/ Date In An ActiveRecord Query

Codeigniter Database Insert Failure

Best Practice for Model Design in Ruby on Rails

Rails ActiveRecord Find / Search by Date

Codeigniter Active Record 'where_or' grouping

Codeigniter: Select from multiple tables

Rails: display @cars as a comma-separated list

Yii - How to get a values array from an Active Record

arrays activerecord yii

Rails: Undefined method create for nil class

Rails Way: Formatting Value Before Setting it in the Model?

Multiple column foreign keys / associations in ActiveRecord/Rails

Rails static data set