I tried require ''url_writer'' but this is not the trick what should be required/included to test the routes urls ? thanks erwin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
A quick Google search would have yielded this: http://blog.zobie.com/2008/11/testing-routes-in-rails/ AWDWR also has a pretty good section on how to test routes. On Aug 12, 3:14 am, Erwin <yves_duf...-ee4meeAH724@public.gmane.org> wrote:> I tried require ''url_writer'' > but this is not the trick > > what should be required/included to test the routes urls ? > > thanks > > erwin-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
sure, but my question was related to the ''console'' ... and last Rails version .. Rails 3 thanks for this link ,I''ll keep it in a safe place On 12 août, 16:31, pepe <P...-1PhG29ZdMB/g+20BJ0uB2w@public.gmane.org> wrote:> A quick Google search would have yielded this:http://blog.zobie.com/2008/11/testing-routes-in-rails/ > > AWDWR also has a pretty good section on how to test routes. > > On Aug 12, 3:14 am, Erwin <yves_duf...-ee4meeAH724@public.gmane.org> wrote: > > > > > I tried require ''url_writer'' > > but this is not the trick > > > what should be required/included to test the routes urls ? > > > thanks > > > erwin-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.
On 12 August 2010 08:14, Erwin <yves_dufour-ee4meeAH724@public.gmane.org> wrote:> I tried require ''url_writer'' > but this is not the trick > > what should be required/included to test the routes urls ?What do you mean by testing the routes urls (in console)? By the way it is a good idea to be explicit in the text of message rather than relying on the subject to clarify what you are asking. Colin -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
The link explains how to test in the console. Not sure if the example will work with Rails 3 but my guess is that it will. Rails 3 was never mentioned in the OP. ;) On Aug 13, 5:03 am, Erwin <yves_duf...-ee4meeAH724@public.gmane.org> wrote:> sure, but my question was related to the ''console'' ... and last > Rails version .. Rails 3 > thanks for this link ,I''ll keep it in a safe place > > On 12 août, 16:31, pepe <P...-1PhG29ZdMB/g+20BJ0uB2w@public.gmane.org> wrote: > > > A quick Google search would have yielded this:http://blog.zobie.com/2008/11/testing-routes-in-rails/ > > > AWDWR also has a pretty good section on how to test routes. > > > On Aug 12, 3:14 am, Erwin <yves_duf...-ee4meeAH724@public.gmane.org> wrote: > > > > I tried require ''url_writer'' > > > but this is not the trick > > > > what should be required/included to test the routes urls ? > > > > thanks > > > > erwin-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.