diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-02-06 01:55:07 +0000 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-02-06 01:55:07 +0000 |
commit | 97612394672203eefd04e3b1947273a3ab4ec930 (patch) | |
tree | 17d64fa0e0084a45816daea963edc517c494e4cd /activerecord/lib | |
parent | 72a865f7932580a8e6a62efbfdce7c4db3378773 (diff) | |
download | rails-97612394672203eefd04e3b1947273a3ab4ec930.tar.gz rails-97612394672203eefd04e3b1947273a3ab4ec930.tar.bz2 rails-97612394672203eefd04e3b1947273a3ab4ec930.zip |
Remove whitespaces
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/associations.rb | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 8c4efc32c8..05ce8ff0b5 100755 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -1094,16 +1094,17 @@ module ActiveRecord # join table with a migration such as this: # # class CreateDevelopersProjectsJoinTable < ActiveRecord::Migration - # def self.up + # def self.up # create_table :developers_projects, :id => false do |t| - # t.integer :developer_id - # t.integer :project_id - # end - # end - # def self.down - # drop_table :developers_projects - # end - # end + # t.integer :developer_id + # t.integer :project_id + # end + # end + # + # def self.down + # drop_table :developers_projects + # end + # end # # Deprecated: Any additional fields added to the join table will be placed as attributes when pulling records out through # +has_and_belongs_to_many+ associations. Records returned from join tables with additional attributes will be marked as |