Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jul 9, 2012
  1. @shayfrendt

    with_revisions is not a valid key for associations

    shayfrendt authored
    - This is a failing test to show that this behavior does not work as
      expected on Rails 3. The override of the find method in revisable.rb
      no longer works because of the way Rails 3 does collection proxies now
      whereas it used to just do collection associations
  2. @shayfrendt
Commits on Jun 28, 2012
  1. @chargify-pair

    Get rid of a module to get specs passing

    chargify-pair authored
    - This may...or may not be a good idea
  2. @chargify-pair
  3. @chargify-pair
  4. @chargify-pair

    Pass through options hash to save

    chargify-pair authored
    - ActiveRecord now accepts an options hash with save, whereas it didn't
      before Rails 3.x
  5. @shayfrendt

    Bump gem to Rails 3.2

    shayfrendt authored
    - Move to Bundler for dependency management
    - Drop support for RDoc
    - Upgrade to rspec 2
    - Clean up a bunch of whitespace
    - Add a Guardfile for easy testing
Commits on Jun 21, 2012
  1. @shayfrendt
Commits on May 1, 2012
  1. @npverni
Commits on Apr 29, 2012
  1. @shayfrendt
Commits on Apr 27, 2012
  1. @shayfrendt
  2. @shayfrendt
Commits on Oct 18, 2009
  1. spec the branch reassociating

    Rich Cavanaugh authored
  2. @mheffner @rich

    * Implement 'branch_source' as a class method instead of as a

    mheffner authored rich committed
      belongs_to association. AFAIK, there is no way to escape the
      default_scope of the revisable class that only selects rows with
      This means that branch_source will work for any parent, whether it
      is an active object or a revision.
Commits on Sep 19, 2009
  1. allow the unique validations to be scoped and optionally disable the …

    Rich Cavanaugh authored
    bump the version
  2. bumping version for the second time today for the tons of bug fixes t…

    Rich Cavanaugh authored
    …he kind people on github provided. thanks.
  3. @moklett

    Don't stomp on the revisiable_number setup work already done corectly.

    moklett authored Rich Cavanaugh committed
    The revisable_number is altered a second time in the revision_setup before_create callback, after already
    being set up correctly in the revisable's to_revision method.  This results in duplicate revisable
    numbers after the first revision, and incorrect numbers thereafter.
  4. missed a Time#current

    Rich Cavanaugh authored
  5. use Time#current for proper time zone support

    Rich Cavanaugh authored
  6. @martinh @rich

    Use for deleted_at timestamp.

    martinh authored rich committed
    Signed-off-by: Rich Cavanaugh <>
  7. @martinh @rich

    Use instead of for revisable timestamps.

    martinh authored rich committed
    Signed-off-by: Rich Cavanaugh <>
  8. @moklett @rich

    Add specs describing the correct behavior of the revision_number

    moklett authored rich committed
    Signed-off-by: Rich Cavanaugh <>
  9. @rich

    Added a test for find_revision(:last) then implemented find_revision(…

    Ryan Duryea authored rich committed
    Signed-off-by: Rich Cavanaugh <>
  10. @rich

    Changed dbfile to database in the faux database.yml file in order to …

    Ryan Duryea authored rich committed
    …supress a deprecation message
    Signed-off-by: Rich Cavanaugh <>
  11. set revisable_type always

    Rich Cavanaugh authored
  12. check that the revisable_type is being set properly

    Rich Cavanaugh authored
  13. make sure finders work with STI

    Rich Cavanaugh authored
  14. first pass at proper STI support

    Rich Cavanaugh authored
  15. make sure it actually works

    Rich Cavanaugh authored
  16. forgot the complimentary spec

    Rich Cavanaugh authored
  17. add test for detecting the properly named revision class

    Rich Cavanaugh authored
Commits on Jul 8, 2009
  1. @rich

    Set defaults for existing objects to still be found once revisioning …

    Tom Meier authored rich committed
    Signed-off-by: Rich Cavanaugh <>
Commits on May 23, 2009
  1. @greatseth

    bump version?

    greatseth authored
  2. @greatseth
Something went wrong with that request. Please try again.