Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

PG::ERROR: another command is already in progress

rspec clean database before running

Register multiple before_save conditional callbacks on Rails 4

Find records where field value is all LOWERCASE

Rails "where" method to find parent by child attribute

ActiveRecord: Skip validation when saving multiple objects

Optional where in Rails

What's the equivalent of $this->db->last_query() in Codeigniter 4?

Rails: submitting a form with multiple objects

How to determine if a Rails object is marked_for_destruction?

'Splitting' ActiveRecord collection

errors.full_messages: attribute name appears twice

How to reset/clear order-by between two consecutive queries in CodeIgniter?

Has "def validate" been taken out in Rails 3.1?

Rails - multiple associations to same model

How to delete everything from all tables without dropping the database [duplicate]

Get all columns of each distinct records in rails

Rails Model - after_destroy never called

yii2 find with() - What is it for?

database activerecord yii2

Rails / ActiveRecord: field normalization