Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update Readme

  • Loading branch information...
commit 3917e2a56dcd765ca88aaa5a0d8d0e886b789d50 1 parent 2a59e7c
@matthuhiggins matthuhiggins authored
Showing with 7 additions and 3 deletions.
  1. +7 −3 README
View
10 README
@@ -14,9 +14,13 @@ Install as a plugin:
ruby script/plugin install git://github.com/matthuhiggins/foreigner.git
-Install as a gem by adding the following to environment.rb:
+In Rails 2, install as a gem by adding the following to config/environment.rb:
- config.gem "matthuhiggins-foreigner", :lib => "foreigner", :source => "http://gemcutter.org"
+ config.gem "matthuhiggins-foreigner", :lib => "foreigner"
+
+In Rails 3, install as a gem by adding the following to your Gemfile:
+
+ gem 'matthuhiggins-foreigner', :require => 'foreigner'
API
---
@@ -94,6 +98,6 @@ schema.rb
---------
Similar to indexes, the foreign keys in your database are automatically dumped to schema.rb.
-This allows you to use foreign keys without fighting Rails!
+This allows you to use foreign keys without switching to the :sql schema.
Copyright (c) 2009 Matthew Higgins, released under the MIT license
Please sign in to comment.
Something went wrong with that request. Please try again.