Permalink
Switch branches/tags
Nothing to show
Commits on May 26, 2010
Commits on May 22, 2010
  1. Bump to v0.6

    matthuhiggins committed May 22, 2010
Commits on Apr 7, 2010
Commits on Apr 2, 2010
  1. Clean up the gemspec

    matthuhiggins committed Apr 2, 2010
  2. update Readme

    matthuhiggins committed Apr 2, 2010
  3. Some extra hacking was in order to get this to work as a gem. The dat…

    matthuhiggins committed Apr 2, 2010
    …abase connection is not available for some reason.
    
    This marks a new gem release with support for Rails 3.
  4. Make it work with Rails 3. Also, leverage the new ActiveSupport.on_lo…

    matthuhiggins committed Apr 2, 2010
    …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
    Matthew Higgins committed Feb 16, 2010
    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
    Matthew Higgins committed Jan 20, 2010
Commits on Jan 11, 2010
  1. Add support for active_record.table_name_prefix and active_record.tab…

    Matthew Higgins
    Matthew Higgins committed Jan 11, 2010
    …le_name_suffix.
    
    Thanks accy.
Commits on Dec 25, 2009
  1. Remove ForeignKey rather than ForeignKeyDefinition

    Matthew Higgins
    Matthew Higgins committed Dec 25, 2009
  2. Duplicate arguments so that foreign key calls below do not have an ad…

    Matthew Higgins
    Matthew Higgins committed Dec 25, 2009
    …ditional foreign key
  3. Update gem spec because new deprecations added

    Matthew Higgins
    Matthew Higgins committed Dec 25, 2009
  4. Update README with removal of create_table

    Matthew Higgins
    Matthew Higgins committed Dec 25, 2009
  5. Deprecate support for adding foreign keys inside a create_table block…

    Matthew Higgins
    Matthew Higgins committed Dec 25, 2009
    …. 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
    Matthew Higgins committed Nov 12, 2009
  2. Releasing a new gem because postgres is screwed on 0.3

    Matthew Higgins
    Matthew Higgins committed Nov 12, 2009
  3. Downcase everything because the adapter name and adapter classes for …

    matthuhiggins committed Nov 12, 2009
    …postgres aren't consistent.
    
    Thanks bkaney
Commits on Nov 7, 2009
  1. * Bump gem version. This new version includes the :primary_key option.

    matthuhiggins committed Nov 7, 2009
    * Foreigner is now available on gemcutter. Add :source option to README
Commits on Oct 28, 2009
  1. no longer uses connection (that may not be available) when determinin…

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

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

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

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

    Matthew Higgins
    Matthew Higgins committed Sep 22, 2009
    …he adapters to schema_dumper.
  3. Renaming :to_column to :primary_key to match ActiveRecord's naming sc…

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

    matthuhiggins committed Sep 18, 2009
  2. - Use caps for sql keywords

    matthuhiggins committed Sep 18, 2009
    - use map instead of inject. What was I thinking?
  3. Refactor with map

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

    Matthew Higgins
    Matthew Higgins committed Sep 7, 2009
    …and sqlite.