Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

How to test that a certain function uses a transaction in Rails and rspec 2

How do I add migration with multiple references to the same model in one table? Ruby/Rails

Rails first_or_create ActiveRecord method

after_create with multiple methods?

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?