Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Activity (RSS)

Monday, December 15 2008
bump rev so new gems are available ht... was committed by Scott Barron at 3:20 PM
Raise an exception if the state is no... was committed by Scott Barron at 3:20 PM
Friday, December 12 2008
Merge branch 'master' of git@github.c... was committed by Scott Barron at 10:05 AM
exclude rcov.rb from rcov report http... was committed by Scott Barron at 10:05 AM
Tuesday, November 11 2008
Allow duplicate state names in subcla... was committed by Tim Pope at 7:01 PM
Monday, October 20 2008
Invoke original inherited callback wh... was committed by Tim Pope at 9:41 AM
Thursday, October 09 2008
Added support for lambdas and arrays ... was committed by Jon Distad at 2:19 PM
8 :new state conflicts with ActiveRecord was updated
  • rubyist
    rubyist commented at 11:50 AM

    Indeed this is the case - I will add warnings for overridden methods as well as changing the example.

    Thanks -Scott

    On Oct 9, 2008, at 10:36 AM, Lighthouse wrot...

  • Zoltan Varady
    Zoltan Varady created the ticket at 10:36 AM

    Since AASM is creating ActiveRecord named scopes, it will overwrite the model's 'new' method if you have a state named 'new', and thus will probably break your ...

Tuesday, October 07 2008
Version module is causing conflicts w... was committed by Scott Barron at 10:02 AM
Friday, October 03 2008
new aasm unit spec http://github.com/... was committed by Jon Distad at 1:35 PM
modified (and fixed) failed event! be... was committed by Jon Distad at 1:35 PM
bang event methods now return false a... was committed by Jon Distad at 11:42 AM
[Jon] increased the scope of active_r... was committed by Edgecase Pair One at 11:42 AM
Friday, September 19 2008
7 State :exit called when all transitions fail was updated
  • Nathaniel Bibler
    Nathaniel Bibler commented at 10:04 AM

    Technically, this patch may change the callback execution sequence in a way which is unexpected. While the specs do not test the order in which callbacks are ex...

  • rubyist
    rubyist commented at 7:12 AM

    Thanks for the patch, Nathaniel, I'll check this out today.

    -Scott

  • Nathaniel Bibler
    Nathaniel Bibler commented at 12:31 AM

    If it's any easier for you to check out, I've also got this modification on GitHub.

  • Nathaniel Bibler
    • Tag changed from bug to bug, patch
    by Nathaniel Bibler at 12:26 AM

    I've attached a patch which adds a spec to exercise this expectation, as well as a simple fix to pass it.

  • Nathaniel Bibler
    Nathaniel Bibler created the ticket at 12:22 AM

    When defining an aasm_state with an :exit option, the defined exit method is currently executed even if all transitions fail:

    
    class Foo
      include AASM
      aasm...
Friday, August 15 2008
6 Fails to execute initial state callbacks was created
  • Nathaniel Bibler
    Nathaniel Bibler created the ticket at 6:23 PM

    If an ActiveRecord object defines an initial state with callbacks (:enter, for example):

    
    class MyClass < ActiveRecord::Base
      include AASM
    
      aasm_initial_sta...
Wednesday, August 13 2008
InvalidTransition should inherit from... was committed by Scott Barron at 6:01 PM
This spec wasn't really working right... was committed by Scott Barron at 6:01 PM
5 InvalidTransition exception should be a runtime error was updated
  • Scott Barron
    • State changed from new to resolved
    by Scott Barron at 6:01 PM

    Indeed it should, fixed in 3d29103. Thanks.

  • Rob Sanheim
    Rob Sanheim created the ticket at 5:43 PM

    InvalidTransition should inherit from RuntimeError, and not Exception, right? Since it descends from Exception, it blows up test suites hard in the middle of t...

Wednesday, July 30 2008
4 example code fails was updated
  • Scott Barron
    Scott Barron commented at 9:37 AM

    Hi,

    Can you guys tell me a little about your set up and give some specific examples of what's failing? Here's what I've got that's working for me:

    ~ > sud...

Tuesday, July 29 2008
4 example code fails was updated
  • Matt Hodgson
    Matt Hodgson commented at 11:10 PM

    Ditto on this. Can't get it to include for the life of me. Tried it every way I can think of.

  • fairchild
    fairchild created the ticket at 5:36 PM

    when following the instruction in the readme (installing the gem) and then pasting the example code into a test_aasm.rb file the sample code fails.

    uninitiali...

Friday, July 25 2008
3 ActiveRecord::find issue with :includes was updated
  • Greg Vaughn
    Greg Vaughn commented at 3:25 PM

    I have an isolated solution I'm almost happy with. Will update with a

    pull request when ready.

    A deeper solution may be to use an inheritable attribute for t...

  • Scott Barron
    • State changed from new to open
    by Scott Barron at 2:43 PM

    Thanks - I'll dig into this and see what I can turn up.

  • Greg Vaughn
    Greg Vaughn commented at 2:34 PM

    I've been digging and have narrowed this down a bit. For some reason when June includes AASM, inherited_with_inheritable_attributes is not called. This method ...

Wednesday, July 23 2008
3 ActiveRecord::find issue with :includes was created
  • Greg Vaughn
    Greg Vaughn created the ticket at 5:29 PM

    I can't write a complete spec because it'll need a real db. Anyway, let me explain in the context of active_record_persistence_spec.rb as if it were hitting a ...

Tuesday, July 22 2008
1 lib/state_machine.rb isn't included in gem was updated
  • Scott Barron
    • State changed from new to resolved
    by Scott Barron at 8:17 AM

    Added to gem build.

2 Version numbers between lib/version.rb and aasm.gemspec differ was updated
  • Scott Barron
    • State changed from new to resolved
    by Scott Barron at 8:17 AM

    Synced up version numbers and bumped minor version so github gem updates.

Sync up version numbers - bumping min... was committed by Scott Barron at 8:15 AM
Monday, July 21 2008
2 Version numbers between lib/version.rb and aasm.gemspec differ was created
  • Matt Patterson
    Matt Patterson created the ticket at 1:30 PM

    The version number in lib/version.rb is 0.0.2 and the version in aasm.gemspec is 2.0.1, resulting in rake gem building aasm-0.0.2.gem and gem build aasm.gemspe...

Wednesday, July 09 2008
Provide explanation for why a transit... was committed by Eric Lindvall at 11:28 PM
Fixing version number in README.rdoc.... was committed by Eric Lindvall at 11:28 PM
Tuesday, July 08 2008
pump version so gem updates http://gi... was committed by Scott Barron at 10:25 PM
Thursday, June 26 2008
1 lib/state_machine.rb isn't included in gem was created
  • Caleb Land
    Caleb Land created the ticket at 5:12 PM

    The lib/state_machine.rb file isn't included in the PKG_FILES list in aasm.gemspec.

Monday, June 23 2008
update changelog http://github.com/ru... was committed by Scott Barron at 9:03 AM
Sunday, June 22 2008
typo http://github.com/rubyist/aasm/c... was committed by Scott Barron at 11:51 AM
add lighthouse and github urls to REA... was committed by Scott Barron at 11:50 AM
Home was created by Scott Barron in AASM at 11:32 AM