Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

rails4 collection select with has_many through association and nested model forms

Rails ActiveRecord eager_load with INNER JOIN

Turn results of a raw SQL query to JSON (and CSV)

Rails validation confirm true is not case sensitive?

ActiveRecord attribute depends of a calculation of other model

Prevent NULL for active record INSERT?

How Can I Get An Enum's String Value Dynamically?

MySQL REGEXP using Rails ActiveRecord

rails4 pluck with order and limit

Rails 2.3.5 Problem Building Conditions Array dynamically when using in (?)

What happens after I add an index to a large table in a production Rails app and then migrate?

Why is this SQL generating a temporary table and running so slow?

Phone is defined as string in db schema, but integers are saving as valid in Ruby

How can I make this Ruby on Rails page more efficient?

Using ActiveRecord with key/value pair table

Rails attribute alias

Data Mapper question in C# .NET

ActiveRecord: Unique by attribute

How do you save nested objects in rails 3?