search for: ohc15rc7jgrl57midrcfdg

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

2009 Jul 01
2
Nested Forms - how to displayed the attributes content ?
...ount attr_accessible :account_attributes is working fine, validating and updating both records (User and Account), but I caanot display the value in the form when is updated, ex: below the firstname is not displayed but it''s in the db account record #<User id: 1, email: "yves-oHC15RC7JGRl57MIdRCFDg@public.gmane.org", .. #<Account id: 4, user_id: 1, title: 0, first_name: "Yves", ... my view ... <% form_for :user, :url => { :action => "update" } do |user_form| %> <% user_form.fields_for :account_attributes do |account_fields| %> <l...
2011 Jun 16
2
Authlogic: Trying to login in my Cucumber test - Authlogic::Session::Activation::NotActivatedError
...atedError) My code: Given /^I am the logged in (.+) "(.+)"$/ do |role, login| user = User.create!( :login => login, :password => "some_password", :password_confirmation => "some_password", :role => role, :email => "some_email-oHC15RC7JGRl57MIdRCFDg@public.gmane.org" ) #Authlogic::Session::Base.controller = Authlogic::ControllerAdapters::RailsAdapter.new(self) UserSession.create( :login => login, :password => "some_password" ) end I found that commented out bit - Authlogic::Session::Base.controller = Authl...