Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to sort users by the most recent post?

has_secure_password: how to require minimum length

Ignore 'read-only' column in creates and updates in Ruby ActiveRecord

ruby activerecord view db2

Keep a log of user events in rails

Rails 3 find_or_create_by

Rails pass additional parameter to a model

Ruby instance variables versus ActiveRecord attributes

A has_many Bs where B has no primary key

Why does this transaction not work in ActiveRecord?

How to store RDF graphs within a data storage?

Prepare and execute statements with ActiveRecord using PostgreSQL

Resolve N + 1 in case of instance dependent scope

Rails 4 Sum by Model Method

Postgres Rails Adapter is thinking Bigint/Varchar is Integer - causes exception when saving

Pluck associated model's attribute in Rails query

Rails log model errors on failed save

How to validate a nested model object based on the state of the parent object?

Weird backticks behaviour in Active Record in CodeIgniter 2.0.3

How do I set up my fixtures for a has_and_belongs_to_many relation?

Why alias_method fails in Rails model