#281 new
tomo

rails mode save_and_open_page saves into RAILS_ROOT

Reported by tomo | August 18th, 2009 @ 11:27 AM

After f2b3b9891b9a0605fa2d6197f9a960f9c7dbd361, save_and_open_page in Rails mode saves into RAILS_ROOT instead of RAILS_ROOT/tmp.

It seems the problem is that the RailsSession is now an adapter, so when save_and_open_page is called on the Session, the RailsSession's saved_page_dir is not used. Previously the RailsSession overrode saved_page_dir in the Session itself.

Not sure what should be done about this. Delegating to the adapter would fix it for Rails mode but break it for others.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket

Pages