Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on May 26, 2010
  1. @matthuhiggins
Commits on May 22, 2010
  1. @matthuhiggins

    Bump to v0.6

    matthuhiggins authored
  2. @matthuhiggins
  3. @matthuhiggins
Commits on Apr 7, 2010
  1. @matthuhiggins
Commits on Apr 2, 2010
  1. @matthuhiggins

    Clean up the gemspec

    matthuhiggins authored
  2. @matthuhiggins

    update Readme

    matthuhiggins authored
  3. @matthuhiggins

    Some extra hacking was in order to get this to work as a gem. The dat…

    matthuhiggins authored
    …abase connection is not available for some reason.
    
    This marks a new gem release with support for Rails 3.
  4. @matthuhiggins

    Make it work with Rails 3. Also, leverage the new ActiveSupport.on_lo…

    matthuhiggins authored
    …ad to only load Foreigner if ActiveRecord is loaded. This maintains fast environment startups, unless you have another crappy gem or plugin that causes lazy loading to begin.
Commits on Feb 16, 2010
  1. Add ability to register new adapters with foreigner.

    Matthew Higgins authored
    Some folks wanted Oracle and Sql Server support, which currently required them to fork this project
    or copy/paste. That sucked, but at the same rate I only want to have adapters that Rails supports.
    
    Now just do:
    
    Foreigner.register 'oracle', /path/to/oracle/adapter
Commits on Jan 20, 2010
  1. Fix syntax error in README. Issue 17 (Thanks librato-mike)

    Matthew Higgins authored
Commits on Jan 11, 2010
  1. Add support for active_record.table_name_prefix and active_record.tab…

    Matthew Higgins authored
    …le_name_suffix.
    
    Thanks accy.
Commits on Dec 25, 2009
  1. Remove ForeignKey rather than ForeignKeyDefinition

    Matthew Higgins authored
  2. Duplicate arguments so that foreign key calls below do not have an ad…

    Matthew Higgins authored
    …ditional foreign key
  3. Update gem spec because new deprecations added

    Matthew Higgins authored
  4. Update README with removal of create_table

    Matthew Higgins authored
  5. Deprecate support for adding foreign keys inside a create_table block…

    Matthew Higgins authored
    …. This code does not have context of the table name, which means that the plugin is unable to automatically generate a name for the foreign key. Since you can't use add_index inside a create_table block either, I think this is an OK removal to be consistent with existing migration APIs.
Commits on Nov 12, 2009
  1. Fix when no database exists when using rake db:create

    Matthew Higgins authored
  2. Releasing a new gem because postgres is screwed on 0.3

    Matthew Higgins authored
  3. @matthuhiggins

    Downcase everything because the adapter name and adapter classes for …

    matthuhiggins authored
    …postgres aren't consistent.
    
    Thanks bkaney
Commits on Nov 7, 2009
  1. @matthuhiggins
  2. @matthuhiggins

    * Bump gem version. This new version includes the :primary_key option.

    matthuhiggins authored
    * Foreigner is now available on gemcutter. Add :source option to README
Commits on Oct 28, 2009
  1. @ctm

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

    ctm authored
    …g which adapter to use.
Commits on Oct 16, 2009
  1. @matthuhiggins

    Define 'remove_foreign_key' in mysql and postgres adapters, because e…

    matthuhiggins authored
    …ach do it differently. There's some duplication here but it's not terrible.
  2. @matthuhiggins
Commits on Sep 28, 2009
  1. Fix the dumper (thanks coren)

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

    Matthew Higgins authored
  2. - Move logic regarding whether or not to dump the :primary_key from t…

    Matthew Higgins authored
    …he adapters to schema_dumper.
  3. @doxavore

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

    doxavore authored
    …heme and adding to schema dump
Commits on Sep 19, 2009
  1. @doxavore
Commits on Sep 18, 2009
  1. @matthuhiggins

    Use array shorthand

    matthuhiggins authored
  2. @matthuhiggins
  3. @matthuhiggins

    - Use caps for sql keywords

    matthuhiggins authored
    - use map instead of inject. What was I thinking?
  4. @matthuhiggins

    Refactor with map

    matthuhiggins authored
Commits on Sep 7, 2009
  1. Another gem version bump. Everything works well in postgresql, mysql …

    Matthew Higgins authored
    …and sqlite.
Something went wrong with that request. Please try again.