I was running an existing rails project. I got an error ActionView: undefined method l l() seems to be a form helper method. Code is something like this: prompt = l(:"#{@controller.controller_name}_#{name}_message") --~--~---------~--~----~------------~-------~--~----~ 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 Jul 19, 8:24 am, Unni <unni.tall...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I was running an existing rails project. I got an error ActionView: > undefined method l > l() seems to be a form helper method. > > Code is something like this: > prompt = l(:"#...@controller.controller_name}_#{name}_message")It''s a localization helper, I forget from which localization problem --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 19 Jul 2008, at 13:20, Frederick Cheung wrote:>> I was running an existing rails project. I got an error ActionView: >> undefined method l >> l() seems to be a form helper method. >> >> Code is something like this: >> prompt = l(:"#...@controller.controller_name}_#{name}_message") > > It''s a localization helper, I forget from which localization problemSimple_localization uses this helper: http://simple-localization.arkanis.de/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
>>> prompt = l(:"#...@controller.controller_name}_#{name}_message") >> It''s a localization helper, I forget from which localization problem > > Simple_localization uses this helper: http://simple-localization.arkanis.de/Open http://www.google.com/codesearch, enter lang:ruby def l, and you get a localization package on the second hit. Google CodeSearch rocks! -- Phlip --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Even codeserch fails to find ruby || Any ideas on that? I know how to find this via the Google ruby page (search for "or equal") but I would be interested to know how to make Google search on a pipe "|" On Jul 19, 7:39 am, Phlip <phlip2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> >>> prompt = l(:"#...@controller.controller_name}_#{name}_message") > >> It''s a localization helper, I forget from which localization problem > > > Simple_localization uses this helper:http://simple-localization.arkanis.de/ > > Openhttp://www.google.com/codesearch, enter lang:ruby def l, and you get a > localization package on the second hit. > > Google CodeSearch rocks! > > -- > Phlip--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Sat, Jul 19, 2008 at 10:02 AM, Ruby Freak <twscannell-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Even codeserch fails to find ruby ||> > Any ideas on that? > > I know how to find this via the Google ruby page (search for "or > equal") but I would be interested to know how to make Google search on > a pipe "|"Perhaps you need to provide more context with your search: http://www.google.com/search?=ruby+operator+%7C%7C%3D -- Greg Donald http://destiney.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Ruby Freak wrote:> Even codeserch fails to find ruby ||Note the main page says they use regular expressions... http://www.google.com/codesearch?q=lang%3Aruby+\|\|%3D> Any ideas on that?thang = nil thang ||= 42 thang ||= 43 assert{ thang == 42 }>> Google CodeSearch rocks! >> >> -- >> Phlip--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---