Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

belongs_to through associations

Rails 3 migrations: Adding reference column?

Rails: validate uniqueness of two columns (together)

How do you manually execute SQL commands in Ruby On Rails using NuoDB

What's the difference between belongs_to and has_one?

How to get last N records with activerecord?

Rails: How do I create a default value for attributes in Rails activerecord's model? [duplicate]

delete_all vs destroy_all?

Validate uniqueness of multiple columns

What is causing this ActiveRecord::ReadOnlyRecord error?

Rails find_or_create_by more than one attribute?

Is there a way to get a collection of all the Models in your Rails app?

Case-insensitive search in Rails model

Determine if ActiveRecord Object is New

Do rails rake tasks provide access to ActiveRecord models?

Rails: select unique values from a column

How to return an empty ActiveRecord relation?

How to drop columns using Rails migration