Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on May 27, 2015
  1. Merge pull request #173 from vandrijevik/fix-deprecation-warning-for-…

    authored
    …capture
    
    Fix deprecation warning from ActiveSupport for Kernel#capture
  2. @vandrijevik
Commits on May 26, 2015
  1. Merge pull request #172 from vandrijevik/fix-adapter-load-warning-mes…

    authored
    …sage
    
    Use puts instead of p for multi-line message
  2. Merge pull request #174 from vandrijevik/fix-activesupport-test-order…

    authored
    …-warning
    
    Set ActiveSupport::TestCase.test_order to avoid warning
Commits on May 25, 2015
  1. @vandrijevik
  2. @vandrijevik
  3. @vandrijevik
Commits on Mar 31, 2015
Commits on Mar 30, 2015
  1. Merge pull request #169 from domcleal/rails32-version

    authored
    Fix ActiveRecord version retrieval on Rails 3
  2. @domcleal

    Fix ActiveRecord version retrieval on Rails 3

    domcleal authored
    Previously a889deb tried to create a Gem::Version out of a module rather than
    the full version string, causing:
    
        ArgumentError: Malformed version number string ActiveRecord::VERSION
    
    This fixes broken tests (https://travis-ci.org/matthuhiggins/foreigner/builds/56370433)
    and db:migrate on Rails 3.2.
  3. Fix test

    authored
  4. v1.7.3

    authored
Commits on Jan 10, 2015
  1. 1.7.2

    authored
  2. Merge pull request #162 from guiman/fix_foreigner_loading_problem

    authored
    Ensure Foreigner is loaded for Rails 4.1.9
Commits on Jan 9, 2015
  1. @guiman

    Ensure Foreigner is loaded for Rails 4.1.9

    guiman authored
    When using Foreigner on Rails 4.1.9 and trying to run `schema::load`
    Foreigner has not been initialized yet so this methods don't exist.
    
    This change was introduced by the following Rails commit:
    
    * (rails/rails@5d6bb89)
    
    So in order to ensure Foreigner has been initialized and methods are
    present for `schema::load` to work correctly, we include `Foreigner.load`
    inside the `schema.rb` file before any of the foreign key methods.
    
    Also:
    
    * Introduce Foreigner::Helper to store class level helpers
    * Simplify the way to determine which version of ActiveRecord is using
Commits on Dec 1, 2014
  1. v1.7.1

    authored
  2. Merge pull request #158 from domcleal/mysql-options-comma

    authored
    Prevent parsing comma in MySQL `SHOW CREATE TABLE` output
  3. @domcleal

    Prevent parsing comma in MySQL `SHOW CREATE TABLE` output

    domcleal authored
    When a foreign key has no ON DELETE or additional options, and is followed by
    a comma (i.e. the first of many), then the trailing comma was incorrectly
    parsed as a constraint option.  This caused 'options: ","' to appear in
    schema.rb.
Commits on Nov 29, 2014
  1. v1.7.0

    authored
Commits on Sep 29, 2014
  1. Merge pull request #154 from jenseng/dump_options

    authored
    preserve db-specific options in schema.rb, fixes #148
  2. @jenseng

    preserve db-specific options in schema.rb, fixes #148

    jenseng authored
    basically any valid db-specific thing that you can already specify via
    `options: "..."` will be preserved on the way back out.
    
    for mysql that's:
    * `ON UPDATE <action>`
    
    for postgres that's:
    * `ON UPDATE <action>`
    * `ON DELETE SET DEFAULT` (doesn't map to a `:dependent` value)
    * `DEFERRABLE` (`NOT DEFERRABLE` is the default)
    * `INITIALLY DEFERRED` (`INITIALLY IMMEDIATE` is the default)
    * `NOT VALID`
    
    postgres' `MATCH <type>` is not supported, but that's already problematic
    for `:options` since it is incompatible with `:dependent` (due to where it
    appears in the statement), so ¯\_(ツ)_/¯
Commits on Sep 25, 2014
  1. Merge pull request #134 from mceachen/master

    authored
    Added support for table name prefixes and suffixes (and some other goodies)
  2. Merge pull request #153 from williamweckl/patch-1

    authored
    Update README.md
  3. @williamweckl

    Update README.md

    williamweckl authored
    Changed method remove_foreign_key description. To remove fks, we need to pass the from table and the to table.
Commits on Jun 15, 2014
  1. @mceachen
Commits on Jun 10, 2014
  1. Merge pull request #146 from mcpierce/add-license-to-gemspec

    authored
    Add MIT license to gemspec
  2. @mcpierce

    Add MIT license to gemspec

    mcpierce authored
Commits on Jun 6, 2014
  1. Merge pull request #142 from greg-barnett/master

    authored
    use PostgreSQLAdapter when using postgis
Commits on May 12, 2014
  1. @mceachen
Commits on May 4, 2014
  1. Merge pull request #144 from gmile/patch-1

    authored
    Remove leading spaces in code examples
  2. @gmile

    Remove leading spaces in code examples

    gmile authored
    There were redundant leading spaces in code examples. Let's remove them.
Commits on Apr 15, 2014
  1. use PostgreSQLAdapter when using postgis

    Greg Barnett authored
Commits on Mar 13, 2014
  1. Merge pull request #138 from tmikoss/master

    authored
    Preserve passed options in drop_table
Something went wrong with that request. Please try again.