Permalink
Commits on Sep 29, 2018
  1. Documenting the change required to migrations when using UUID (closes #…

    pat committed Sep 29, 2018
Commits on Jun 9, 2018
  1. Merge pull request #55 from seelensonne/master

    pat committed Jun 9, 2018
    Simplify migration given in the readme
Commits on May 24, 2018
  1. Simplify migration given in the readme

    seelensonne committed May 24, 2018
    This simplifies the migration given under the [Without Rails](https://github.com/pat/gutentag#without-rails) heading in `README.md`.
Commits on May 18, 2018
  1. 2.4.0

    pat committed May 18, 2018
Commits on May 11, 2018
  1. Shift model loading for non-Rails apps to autoload.

    pat committed May 11, 2018
    Not entirely sold on this, as autoload is likely not thread-safe, but I'm open to keeping it for the moment and seeing how things play out.
  2. Note tag validation loading changes in CHANGELOG.

    pat committed May 11, 2018
  3. Merge pull request #54 from grosser/grosser/lazy

    pat committed May 11, 2018
    do not load models when not needed and make validations available wit…
Commits on Apr 28, 2018
  1. do not load models when not needed and make validations available wit…

    grosser committed Apr 28, 2018
    …hout rails
Commits on Apr 27, 2018
  1. 2.3.2

    pat committed Apr 27, 2018
Commits on Apr 20, 2018
  1. Fix `tagged_with` querying to work with STI models

    pat committed Apr 20, 2018
    Bug reported by @twbcs in #53.
Commits on Apr 10, 2018
  1. Update tested Ruby versions.

    pat committed Apr 10, 2018
Commits on Apr 4, 2018
  1. 2.3.1

    pat committed Apr 4, 2018
Commits on Mar 29, 2018
  1. Avoid loading tag validation logic until necessary.

    pat committed Mar 29, 2018
    Otherwise, if gutentag is listed in a Gemfile before mysql2 or pg, they won't be loaded when the exception classes are detected, and their later exceptions (if the database isn't present) will fail noisily when they don't need to.
Commits on Mar 21, 2018
  1. Revert "Rails 5.2 is fine with mysql2 0.5."

    pat committed Mar 21, 2018
    This reverts commit d01185a. Rails 5.2.0.rc2 requires mysql ~> 0.4.4, but for some reason it doesn't error on my machine. Travis CI's got it right, and right now I don't have the energy to figure out why my machine's not behaving correctly.
  2. Rails 5.2 is fine with mysql2 0.5.

    pat committed Mar 21, 2018
  3. Lock down the mysql2 version to avoid 0.5 for the moment.

    pat committed Mar 21, 2018
  4. Updating Rails 5.2 Appraisal to the latest RC.

    pat committed Mar 21, 2018
Commits on Mar 19, 2018
  1. 2.3.0

    pat committed Mar 19, 2018
Commits on Mar 16, 2018
  1. Some Rails versions modify validation options.

    pat committed Mar 16, 2018
    This is not nice behaviour from Rails, but so it goes. Let's pass a non-frozen hash through to keep things working.
  2. Fix database handling with old Rails versions.

    pat committed Mar 16, 2018
    ActiveRecord::NoDatabaseError doesn't exist in Rails 4.0 or 3.2, and ActiveRecord errors in 5.0+ refer to ActiveModel.
Commits on Mar 14, 2018
  1. Handle situations where database server isn't available.

    pat committed Mar 14, 2018
Commits on Mar 11, 2018
  1. Update CHANGELOG, syntax for previous commit.

    pat committed Mar 11, 2018
  2. Cleaning tag names to remove blank values.

    pat committed Mar 11, 2018
    As discussed in #51.
Commits on Mar 5, 2018
  1. 2.2.1

    pat committed Mar 5, 2018
  2. Dirtier isn’t in play for Rails 4.2 onwards.

    pat committed Mar 5, 2018
  3. Remove Array default for Rails 5.0+.

    pat committed Mar 5, 2018
    The default was getting in the way of `tag_names` returning already-persisted values.
    
    Rails 4.2 isn’t quite as elegant, so we’re now distinguishing between three different approaches. Annoying, but that’s just how it goes for the moment.
  4. Tag names aren’t populating with initial values.

    pat committed Mar 5, 2018
    This spec fails for the moment, but gives us something to work with (and avoid reintroducing bugs later).
  5. Add Rails 4.2 for MRI 2.4 and 2.5.

    pat committed Mar 5, 2018
    Not sure why I’d missed this previously.
Commits on Mar 4, 2018
  1. 2.2.0

    pat committed Mar 4, 2018
Commits on Feb 23, 2018
  1. Update syntax to match Rubocop requirements.

    pat committed Feb 23, 2018