Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How can I build a front end for querying a Redshift database (hopefully with Rails)

how to call a active record named scope with a string

How can I rollback a rails save/transaction?

Rails ActiveRecord - update_all: how to update multiple fields at once with mixed type of arguments

How do I use functions like CONCAT(), etc. in ARel?

ruby activerecord arel

How do you set a not null constraint in activerecord for ruby?

Heroku + Rails + PG: ActiveRecord::StatementInvalid (PG::ConnectionBad: PQconsumeInput() SSL connection has been closed unexpectedly

Rails models in subfolders and relationships

Codeigniter:$query->free_result() when using active record?

Get changed attributes on after_update callback

Including a virtual attribute in the respond_with hash

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