Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails: Two 'where' queries - each works individually, but not together

Accessing attributes from different associated models rails 3

Group by hour and use user time zone in rails?

ActiveRecord generated SQL in Rails 3

How to pass dynamic params in Rails?

`length:` is not enforced on string column with PostgreSQL?

How to access a class method (or variable) in an instance method using concern?

Can't mass-assign protected attributes in Rails 3.2.3

has_many :through :uniq relationship needs to collect everything from the through table

ActiveRecord: "WHERE IN" SQL statement

How to cause manually ActiveRecord RecordInvalid in Rails

Deleting VS Finding Orphans using ActiveRecord helpers

How do I write arbitrary SQL queries in Ruby on Rails?

Rails 3.2 ActiveRecord concurrency

Order Data from three different models in ruby on rails

Is there a way to use schema.rb to create a database from inside Rails?