Most rails migration add column related news are at:
Asset Pipeline has been extracted as sprockets-rails 15 Oct 2012 | 10:04 pm
The asset pipeline which was introduced in Rails 3.1, has been extracted to a separate gem called sprockets-rails. Performance for assets compiling has been improved. There is a open pull request to m...
ClientSideValidations: Add/Map model validations to JS form validations 12 Oct 2012 | 09:19 pm
Easily map modal validation to client side javascript in Rails. Github: github.com/bcardarella/cl…Railscast: railscasts.com/episodes/263-c… #rails — Akhil Bansal (@bansalakhil) October 12, 2012
More rails migration add column related news:
Bulk ALTER TABLE with Rails 3 and MySQL m.onkey.org 1 Feb 2011 | 02:34 am
With this commit, Rails migrations will support adding/removing/changing multiple columns via a single ALTER TABLE statement for MySQL. Let’s say you need to add 2 new columns to a table and modify d...
Private Member Variables in Ruby railsrocket.com 18 Dec 2008 | 07:49 am
If you’re new to Ruby, especially if you’re coming from a Rails background, you probably use attr_accessor (if not outright adding columns to the table in Rails) to add member variables to a class. Li...
Rails Migration to Convert all Table Names and Column Names to underscore dirk.net 31 Aug 2011 | 09:52 am
This may be useful for legacy database, whose table and column names are in CamelCase. Use with extreme caution: class ChangeAllColumnsToUnderscore < ActiveRecord::Migration include ActiveRecord::C.....
Explicit path helpers with STI in Rails tigraine.at 26 Jun 2012 | 12:00 am
I am currently working on an application that makes use of Single-Table-Inheritance (STI) for some of it’s models. STI in Rails is quite simple, you simply subclass a model and add the type column to...
How to add a new column to the database using migrations tonylea.com 22 Jun 2013 | 04:27 am
Using migrations in laravel 4 allows users to keep a version control of their database. If you aren’t familiar with migrations I’ll give you a quick rundown. A migration is a file that creates, update...