Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails: ActiveRecord db sort operation case insensitive

Is after_validation hook called every time on Active Record?

Can ActiveRecord create tables outside of a migration?

Dynamically defined setter methods using define_method?

Use specific mysql index with rails

How to make all model attributes accessible for mass-assignment?

Eager loading in deep level nested association

What is the ActiveModel method attribute "_was" used for?

How to reset auto increment field in a ActiveRecord migration?

General rescue throughout controller when id not found - RoR

ActiveRecord IS NOT NULL sql finder

Adding a column through the terminal

Check if current_user is the owner of a resource and allow edit/delete actions

Rails: Benchmarking rails ActiveRecord Queries

rails 4 how to use where and where in condition simultaneously

Renaming the created_at, updated_at columns of ActiveRecord/Rails

Can't open rails console: production database not configured, establish_connection raises ActiveRecord::AdapterNotSpecified

Sidekiq concurrency and database connections pool

What's the best way to implement gmail style "undo" in Rails?