Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

Join the same table twice with conditions

Rails - Active Record: add extra select column to find(:all)

Is it possible to use ActiveAdmin on a non-ActiveRecord based model (say activeModel or Mongoid, etc)?

Negate ActiveRecord query scope

generating model with ActiveRecord associations

Using Ruby on Rails Without the ActiveRecord

Custom order based on Enum values

Connecting to Postgres Via database_url and Unix Socket in Rails

rails-activerecord

ActiveRecord - Get the last n records and delete them in one command?

ruby rails-activerecord

Default values for models in rails

Heroku + Sidekiq: ActiveRecord::StatementInvalid: PG::UnableToSend: SSL SYSCALL error: EOF detected

My app keeps creating database connections, how do I trace the reason?

Delete duplicate records based on multiple columns

Safely pass a dynamic column name into an ActiveRecord query with a Postgres cast?

Postgresql and ActiveRecord where: Regex matching

Adding unique: true for add_column and add_index in Active Record

Rails raw query for csv format, to be returned via controller

Ruby on Rails Active Record return value when create fails?

Ruby-on-Rails: Selecting distinct values from the model

Disable SQL Cache temporary in Rails?