Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

after_update is called when the object is only created

Create a deep copy of a record?

Rollback not triggering in rails transaction when catching errors

How can I calculate the sum of a boolean column in Ruby on Rails

How to insert only a few columns from a csv into a table

Find a model by its referenced model (child?) in Ruby on Rails

Get deleted object with paranoid through related activerecord objects

Rails: ActiveRecord has_many association not working

Using Roles for Validations in Rails

How to test PG::QueryCanceled (due to timeout) error in a Rails app?

How to invoke a postgres function using arel?

RGeo error attempting to create point from lat/lon

Rails column_hash type different from actual database type

Ruby on rails-convert activeRecord to arrays

Rails: Is it possible to check if a named scope is valid for a given active record?

how to change the index of the table that was already created using rails migration?

remove_reference and down migration of add_reference reports no foreign key