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)

Thursday, August 12 2010
Support Machinist 1 as well as Machin... was committed by Paul Gideon Dann at 12:17 PM
find_models now works with a factory ... was committed by Ian White at 12:17 PM
27 undefined method `klass' for nil:NilClass (NoMethodError) was updated
  • Ian White
    Ian White commented at 10:29 AM

    Thanks for the bug report, looking into it.

    Cheers,
    Ian

Wednesday, August 11 2010
27 undefined method `klass' for nil:NilClass (NoMethodError) was updated
  • Roland
    Roland commented at 11:21 AM

    my quick solution for this is to use

    plural_factory.singularize.parameterize('_')

    instead of

    plural_factory.singularize

  • Roland
    Roland created the ticket at 11:11 AM

    Hi,

    (This error did not occur on pickle 0.3.0 and rails 2.3.5.)

    Given pickle 0.3.4 and rails 3.0.0.rc

    When I am using pickle_steps.rb#34:

    find exactly n models

    ...

Friday, August 06 2010
Simplify gh-pages http://github.com/i... was committed by Ian White at 10:42 AM
Remove generated docs, and link to rd... was committed by Ian White at 10:40 AM
Words fro 0.3.4 http://github.com/ian... was committed by Ian White at 9:43 AM
Added spec for tommeier's email fix [... was committed by Ian White at 9:43 AM
to_s needed on body to ensure no priv... was committed by Tom Meier at 9:43 AM
Regenerated gemspec for version 0.3.4... was committed by Ian White at 9:43 AM
26 Private method `scan' when using click_first_link_in_email was updated
Thursday, August 05 2010
26 Private method `scan' when using click_first_link_in_email was updated
  • Ian White
    Ian White commented at 11:25 PM

    This must be a result of the changes in 0.3.2

    Thanks for the bug report, will look into this tomorrow morning.

    Cheers,
    Ian

  • Tom Meier
    Tom Meier created the ticket at 10:38 PM

    Hi,

    Having an issue on pickle with the 'click first link in email',

    Ruby : 1.8.7 (or 1.9.1 tested via both)
    Pickle : 0.3.3
    gem 'email_spec', :git => "git://gith...

10 Remove dependencies on rails was updated
  • Ian White
    • State changed from new to resolved
    • Milestone order changed from 0 to 0
    by Ian White at 3:08 PM
9 Add find adapter was updated
  • Ian White
    • State changed from new to resolved
    • Milestone order changed from 0 to 0
    by Ian White at 3:07 PM

    The pickle orm adapter stuff is now in.

    Waiting for contributions (ie Mongo Mapper or similar)

20 Rails 3 generators was updated
  • Ian White
    • State changed from new to resolved
    • Milestone order changed from 0 to 0
    by Ian White at 3:06 PM
Minor refactoring of Pickle::Config#m... was committed by Ian White at 11:44 AM
Regenerated gemspec for version 0.3.3... was committed by Ian White at 9:41 AM
Words for 0.3.3 http://github.com/ian... was committed by Ian White at 9:41 AM
Respect the default build strategy fo... was committed by Sean Hussey at 9:41 AM
Patch ActiveRecord adapter to remove ... was committed by Brian Rose & Kevin Olsen at 9:29 AM
Regenerated gemspec for version 0.3.2... was committed by Ian White at 9:29 AM
Words for 0.3.2 http://github.com/ian... was committed by Ian White at 9:29 AM
Monday, August 02 2010
email links now visit the url, rather... was committed by Ian White at 4:03 PM
Sunday, August 01 2010
Words http://github.com/ianwhite/pick... was committed by Ian White at 7:25 AM
Document named Machinist blueprint us... was committed by Chris Darroch at 7:25 AM
Move the named machinist blueprint ex... was committed by Chris Darroch at 7:25 AM
Fix some doco spelling errors. http:/... was committed by Chris Darroch at 7:25 AM
Saturday, July 31 2010
email links now visit the url, rather... was committed by Ian White at 8:15 PM
Author: H.J. Blok <hj.blok@gmail.com>... was committed by Ian White at 7:43 PM
Regenerated gemspec for version 0.3.1... was committed by Ian White at 7:43 PM
Words for 0.3.1 http://github.com/ian... was committed by Ian White at 7:43 PM
Document rails 3 vs rails 2 usage htt... was committed by Ian White at 7:43 PM
Sunday, July 18 2010
25 #find_model does not use label to find the model was updated
  • Bo Kirkeby
    Bo Kirkeby commented at 11:02 AM

    Alright, I guess I misunderstood the intent of #find_model.

    Do you think it is wrong to test non-existence of a model using a label instead of by attributes?
    I ...

Saturday, July 17 2010
25 #find_model does not use label to find the model was updated
  • Ian White
    Ian White commented at 8:08 PM

    Thinking about it some more, your use case illustrates that an error should be raised if you are asserting non-existence of models, and giving a name

    EIther tha...

  • Ian White
    Ian White commented at 7:45 PM

    Hi Bo,

    Remember that the pickle refs are purely for internal referencing in a scenario.

    With that in mind, You probably want to use an attribute on the model to...

  • Bo Kirkeby
    Bo Kirkeby commented at 7:42 PM

    Yeah, #model works great. I was trying to do something like:

    Given a user: "Fred" exists
    When I delete the user: "Fred"
    Then the user: "Fred" should not exist
    
    ...
  • Ian White
    Ian White commented at 7:07 PM

    If you are using find_model to retrieve a model using the pickle ref, I think that the 'model' method is what you want...

    model 'user: "Fred"'

    or
    model! 'user: ...

  • Bo Kirkeby
    Bo Kirkeby created the ticket at 6:45 PM
    create_model 'user: "Frank"'
    create_model 'user: "Fred"'
    find_model 'user: "Fred"' # => Finds user: "Frank" because he was created first.
    

    I am assuming that i...

Thursday, June 24 2010
23 ActiveRecord::Base subclasses in rails3 returns a string was created
  • johnf
    johnf created the ticket at 9:04 AM

    In rails 3 :ActiveRecord::Base.send(:subclasses) returns an array of strings rather than classes.

    This means you see the error below. Adding a whole heap of con...

Wednesday, June 23 2010
Link to rdoc.info http://github.com/i... was committed by Ian White at 3:05 PM
Regenerated gemspec for version 0.3.0... was committed by Ian White at 2:57 PM
Words for 0.3.0 http://github.com/ian... was committed by Ian White at 2:57 PM
Implements adapters for AR and DM as ... was committed by Daniel Neighman at 2:57 PM
Updated sessions specs to support Dat... was committed by Josh Bassett at 2:57 PM
[ADDED] DataMapper support. http://gi... was committed by Josh Bassett at 2:57 PM
Return record from Session #create_mo... was committed by Josh Bassett at 2:57 PM