Skip to content
Commits on Dec 17, 2015
  1. Merge pull request #177 from olivierlacan/patch-1

    committed
    Use SVG badges
Commits on Dec 16, 2015
  1. @olivierlacan

    Use SVG badges

    olivierlacan committed
    Looks better :-)
Commits on May 27, 2015
  1. Merge pull request #173 from vandrijevik/fix-deprecation-warning-for-…

    committed
    …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…

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

    committed
    …-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

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

    Fix ActiveRecord version retrieval on Rails 3

    domcleal committed
    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

    committed
  4. v1.7.3

    committed
Commits on Jan 10, 2015
  1. 1.7.2

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

    committed
    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 committed
    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

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

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

    Prevent parsing comma in MySQL `SHOW CREATE TABLE` output

    domcleal committed
    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

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

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

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

    jenseng committed
    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

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

    committed
    Update README.md
  3. @williamweckl

    Update README.md

    williamweckl committed
    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

    committed
    Add MIT license to gemspec
  2. @mcpierce

    Add MIT license to gemspec

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

    committed
    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

    committed
    Remove leading spaces in code examples
  2. @gmile

    Remove leading spaces in code examples

    gmile committed
    There were redundant leading spaces in code examples. Let's remove them.
Something went wrong with that request. Please try again.