Skip to content
Commits on Nov 7, 2009
  1. * Bump gem version. This new version includes the :primary_key option.

    * Foreigner is now available on gemcutter. Add :source option to README
    Matthew Higgins committed Nov 7, 2009
Commits on Oct 28, 2009
  1. @ctm

    no longer uses connection (that may not be available) when determinin…

    …g which adapter to use.
    ctm committed Oct 27, 2009
Commits on Oct 16, 2009
  1. Define 'remove_foreign_key' in mysql and postgres adapters, because e…

    …ach do it differently. There's some duplication here but it's not terrible.
    Matthew Higgins committed Oct 16, 2009
  2. Fix missing > in hash (thanks wkoziej)

    Matthew Higgins committed Oct 16, 2009
Commits on Oct 9, 2009
  1. Merge branch 'master' of git://github.com/matthuhiggins/foreigner

    Conflicts:
    	lib/foreigner.rb
    David Wilkie committed Oct 9, 2009
Commits on Sep 28, 2009
  1. Fix the dumper (thanks coren)

    Matthew Higgins committed Sep 27, 2009
Commits on Sep 22, 2009
  1. Only dump the :column option if it differs from the default

    Matthew Higgins committed Sep 21, 2009
  2. - Move logic regarding whether or not to dump the :primary_key from t…

    …he adapters to schema_dumper.
    Matthew Higgins committed Sep 21, 2009
  3. @doxavore

    Renaming :to_column to :primary_key to match ActiveRecord's naming sc…

    …heme and adding to schema dump
    doxavore committed Sep 21, 2009
Commits on Sep 19, 2009
  1. @doxavore
Commits on Sep 18, 2009
  1. Use array shorthand

    Matthew Higgins committed Sep 17, 2009
  2. Move sql_2003 so that each file does not need to require it

    Matthew Higgins committed Sep 17, 2009
  3. - Use caps for sql keywords

    - use map instead of inject. What was I thinking?
    Matthew Higgins committed Sep 17, 2009
  4. Refactor with map

    Matthew Higgins committed Sep 17, 2009
Commits on Sep 16, 2009
  1. bumped gem spec

    David Wilkie committed Sep 16, 2009
  2. Merge branch 'master' of git@github.com:dwilkie/foreigner

    David Wilkie committed Sep 16, 2009
  3. Modified readme file for branch

    David Wilkie committed Sep 16, 2009
  4. changed gem spec

    committed Sep 16, 2009
  5. added sqlite adapter

    David Wilkie committed Sep 16, 2009
Commits on Sep 7, 2009
  1. Another gem version bump. Everything works well in postgresql, mysql …

    …and sqlite.
    Matthew Higgins committed Sep 6, 2009
  2. Only add foreign keys to the table definition if the adapter supports…

    … them.
    Matthew Higgins committed Sep 6, 2009
  3. - Properly namespace the ConnectionAdapter modules

    - Wrap the SchemaDefinitions into a module. This simplifies lib/foreigner.rb, because it needs to know less about Table and TableDefinition
    - Fix a bug .. :foreign_key => true did not work for t.references.
    Matthew Higgins committed Sep 6, 2009
  4. shorten query with using shorthand

    Matthew Higgins committed Sep 6, 2009
  5. Bump gem version to 0.2.0, now with postgres support

    Matthew Higgins committed Sep 6, 2009
  6. Add schema.rb support to the post gres adapter

    Matthew Higgins committed Sep 6, 2009
  7. - Do not load the adapter unless it is the current one in use

    - Extract mysql foreign key definitions into the sql_2003 specification
    - Add postgressql support, sans schema dumping. I will add foreign_keys to schema.rb soon.
    Matthew Higgins committed Sep 6, 2009
  8. Don't need to mess with the load path - the Rake task sets this up al…

    …ready
    Matthew Higgins committed Sep 6, 2009
  9. Add installation instructions

    Matthew Higgins committed Sep 6, 2009
  10. Add gemspec

    Matthew Higgins committed Sep 6, 2009
Commits on Sep 2, 2009
  1. This include was incorrectly nested

    Matthew Higgins committed Sep 2, 2009
  2. Update the Readme

    Matthew Higgins committed Sep 2, 2009
  3. ** WARNING ** Changing the API to t.references:

      t.references no longer creates a foreign key by default. The reasoning
      is that adding this plugin should not change the default behavior.
      Instead, pass :foreign_key => true to t.references. :foreign_key
      can also be passed a hash of foreign key options.
    Matthew Higgins committed Sep 2, 2009
Something went wrong with that request. Please try again.