search for: tdddemo

Displaying 2 results from an estimated 2 matches for "tdddemo".

Did you mean: advdemo
2005 Mar 10
0
RE: Confused about extending the login generator ''user'' [fixed]
...: > If I comment out the ''belongs_to: user_type'' then the app runs. If I > leave it in then I get the failure above. This should be "belongs_to :user_type". The colon means that the following name (here user_type) is a Ruby symbol (http://onestepback.org/articles/tdddemo/rubysymbols.html). //jarkko -- Jarkko Laine http://jlaine.net http://odesign.fi
2005 Mar 09
10
Confused about extending the login generator ''user''
I''ve been using the login generator ''out of the box'' for simple authentication, and its been working fine. Now I want to extend it by simply adding ''type_id'' field which links to my ''user_types'' table, but I''m hitting: #<ActionController::SessionRestoreError: Session contained objects where the class definition