regedarek
2012-May-03 14:16 UTC
Why I have to set two unnecessary params in controller action after i send form_tag?
https://gist.github.com/2585733 This is my code. -- 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.
Michael Pavling
2012-May-03 14:20 UTC
Re: Why I have to set two unnecessary params in controller action after i send form_tag?
On 3 May 2012 15:16, regedarek <dariusz.finster-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> https://gist.github.com/2585733 > > This is my code."send" is an critically important method in Ruby - probably best to name your action something else. -- 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.
Aziz Bookwala
2012-May-03 14:24 UTC
Re: Why I have to set two unnecessary params in controller action after i send form_tag?
You are using "send" for an action name. Send is used internally by ruby. I''d suggest renaming the action. On Thu, May 3, 2012 at 7:46 PM, regedarek <dariusz.finster-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> https://gist.github.com/2585733 > > This is my code. > > -- > 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. > >-- - Aziz M. Bookwala -- 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.
regedarek
2012-May-03 18:14 UTC
Re: Why I have to set two unnecessary params in controller action after i send form_tag?
Thanks this was it. Solved. W dniu czwartek, 3 maja 2012 16:16:10 UTC+2 użytkownik regedarek napisał:> > https://gist.github.com/2585733 > > This is my code.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/R8F5BOes9dUJ. 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.