Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in rails-activerecord

Rails app. Collect items from several models and show this paginated list of items on main page

Custom fields in Rails that act as a template for future entries

Checking if activerecord is locked in "updating" status

What is the difference between using ? and % when sanitizing fields in ActiveRecord?

Rails - view turning complete white after refreshed or visited several times

"first!" on AR CollectionProxy raises "undefined method [] for nil" after updating from Rails 4.1.4 to 4.2.0

Why does rails specify primary key id manually in the insert statement?

Query common Groups between two Users

Convert database constraints to Rails validations

Rails ActiveRecord string field encoding vs Ruby String encoding

Using Rails find_or_create_by with form objects

Foreign key is allowed to be NULL?

Rails select in scope

How to update all the values of an column with regular expression in Rails 4

How do I do this? Model.where("created_at >= #{Time.now - 5.days}")

Multiple where conditions in Rails

Rails 3.1: can't write to column in same migration that adds it

Rails counter_cache not updating correctly

Why alias_method fails in Rails model

rails < 4.0 "try" method throwing NoMethodError?