Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

Rails: Validate only on create, or on update when field is not blank

Heroku Postgres Error: PGError: ERROR: relation "organizations" does not exist (ActiveRecord::StatementInvalid)

Counting the number of queries performed

In Rails 4.1, how to find records by enum symbol?

Cascade delete in Ruby ActiveRecord models?

ActiveRecord::SubclassNotFound: The single-table inheritance mechanism failed to locate the subclass

Add nullable foreign key in Rails

Ruby on rails - Reference the same model twice?

Ruby rails - select only few columns from the data base

How to write SQL in a migration in Rails

Does rename_column take care of indexes?

Difference between Active Model, Active Record and Active Resource

has_many, belongs_to relation in active record migration rails 4

Rails has_one :through association

ActiveRecord OR query Hash notation

ActiveRecord Find By Year, Day or Month on a Date field

Rails: Access to current_user from within a model in Ruby on Rails

Connecting Rails 3.1 with Multiple Databases

Rolling back a failed Rails migration

How to skip ActiveRecord callbacks? [duplicate]