hi, I''m using edge rails, ruby 1.8.6 on osx. if I write a method like: @request.session[:user] = 3 more than in one method the script just quits, I must use it once in the entire test file :\ it can be considerered as a bug? with earlier revisions of edge rails it was working.. thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Apr 8, 4:23 am, "Claudio Poli " <masterk...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hi, > I''m using edge rails, ruby 1.8.6 on osx. > if I write a method like: > > @request.session[:user] = 3 > > more than in one method the script just quits, I must use it once in > the entire test file :\ > it can be considerered as a bug? with earlier revisions of edge rails > it was working.. > > thanks.after long testing I found out why: the new file format for the views; if we have edit.erb there are no issues, if we start using edit.html.erb tests quits. there''s also another issue with this format, explained here: http://dev.rubyonrails.org/ticket/8014 I''ve seen changeset 6505, I''m gonna to try it. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Changeset 6505 it''s unrelated. Anyway I can confirm, tests broke/quits when using file.format.extension for views, I''ve just renamed again my views to the old format (file.erb) and tests goes from start to finish normally. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---