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
  2. correctly add jdbc support

    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…

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

    …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.
    matthuhiggins committed Apr 2, 2010
Commits on Feb 16, 2010
  1. Add ability to register new adapters with foreigner.

    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
    Matthew Higgins committed Feb 16, 2010
Commits on Jan 20, 2010
  1. Fix syntax error in README. Issue 17 (Thanks librato-mike)

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

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

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

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

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

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

    …. 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.
    Matthew Higgins committed Dec 25, 2009
Commits on Nov 12, 2009
  1. Fix when no database exists when using rake db:create

    Matthew Higgins committed Nov 12, 2009
  2. Releasing a new gem because postgres is screwed on 0.3

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

    …postgres aren't consistent.
    
    Thanks bkaney
    matthuhiggins committed Nov 12, 2009
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
    matthuhiggins committed Nov 7, 2009
Commits on Oct 28, 2009
  1. no longer uses connection (that may not be available) when determinin…

    …g which adapter to use.
    ctm committed Oct 28, 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.
    matthuhiggins committed Oct 16, 2009
Commits on Sep 28, 2009
  1. Fix the dumper (thanks coren)

    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 committed Sep 22, 2009
  2. - Move logic regarding whether or not to dump the :primary_key from t…

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

    …heme and adding to schema dump
    doxavore committed Sep 22, 2009
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

    - use map instead of inject. What was I thinking?
    matthuhiggins committed Sep 18, 2009
  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 …

    …and sqlite.
    Matthew Higgins committed Sep 7, 2009