Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

ActiveRecord.... activerecord-mysql-adapter

Getting Table doesn't exist error, but the table does exist (ActiveRecord::StatementInvalid Mysql2::Error: Table doesn't exist)

ActiveRecord::EagerLoadPolymorphicError: Can not eagerly load the polymorphic association

Rails (postgres) query with jsonb array

Rails: Creating models from existing tables?

"merging" multiple models. To create a "recent activity" box

How best to associate an Address to multiple models in rails?

Rails Date After

rails g scaffold for existing model and DB table

Mixing in module with attr_accessible, has_one, has_many

Testing a gem that uses ActiveRecord models

Prevent infinite loop when updating attributes within after_commit, :on => :create

Changing updated_at in a Rails record

How do you reference only the persisted records in an active record association

Yii2 active record model not saving data

activerecord yii2

Rails3 fields_for on text Hash: not working as expected

before_destroy and dependent destroy not firing

Rails push into array saves object

How can I execute a Database Operation outside of a transaction in Rails / ActiveRecord

add a database column with Rails migration and populate it based on another column