Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

Add a reference column migration in Rails 5

ActiveRecord includes. Specify included columns

Rails ActiveRecord: validate single attribute

In Rails' ActiveRecord, what is touch for?

Rails 4 scope to find parents with no children

Getting "Unknown primary key for table" while the ID is there

rails method to get the association name of a model

Possible to specify unique index with NULLs allowed in Rails/ActiveRecord?

Rails includes with scope

How would one validate the format of an email field in ActiveRecord? [closed]

How to validate the date such that it is after today in Rails?

Making the rails console output a little more pretty

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?