Re: [Rails] Re: Two buttons respond to same action

2011-05-29 Thread Bryan Crossland
Sent from my iPhone On May 29, 2011, at 8:47 AM, amritpal pathak wrote: > > > On Sun, May 29, 2011 at 8:44 AM, Colin Law wrote: > On 29 May 2011 13:33, amritpal pathak wrote: > > > > > > On Sun, May 29, 2011 at 8:29 AM, Colin Law wrote: > >> > >> On 29 May 2011 13:17, amritpal pathak wrote

Re: [Rails] Re: Two buttons respond to same action

2011-05-29 Thread amritpal pathak
On Sun, May 29, 2011 at 8:44 AM, Colin Law wrote: > On 29 May 2011 13:33, amritpal pathak wrote: > > > > > > On Sun, May 29, 2011 at 8:29 AM, Colin Law > wrote: > >> > >> On 29 May 2011 13:17, amritpal pathak > wrote: > >> > > >> > > >> > On Sun, May 29, 2011 at 7:16 AM, amritpal pathak > >> >

Re: [Rails] Re: Two buttons respond to same action

2011-05-29 Thread Michael Pavling
On 29 May 2011 13:29, Colin Law wrote: > Readers may find it interesting to read > http://www.ruby-forum.com/topic/1610794 > where he posts under both aliases, thanking himself for support. Good effort. I'd forgotten about that thread (there were so many...) > It is clear that the guy is not gen

Re: [Rails] Re: Two buttons respond to same action

2011-05-29 Thread Colin Law
On 29 May 2011 13:33, amritpal pathak wrote: > > > On Sun, May 29, 2011 at 8:29 AM, Colin Law wrote: >> >> On 29 May 2011 13:17, amritpal pathak wrote: >> > >> > >> > On Sun, May 29, 2011 at 7:16 AM, amritpal pathak >> > >> > wrote: >> >> >> >> >> >> On Sun, May 29, 2011 at 4:12 AM, Chris Kotto

Re: [Rails] Re: Two buttons respond to same action

2011-05-29 Thread amritpal pathak
On Sun, May 29, 2011 at 8:29 AM, Colin Law wrote: > On 29 May 2011 13:17, amritpal pathak wrote: > > > > > > On Sun, May 29, 2011 at 7:16 AM, amritpal pathak < > amritpalpath...@gmail.com> > > wrote: > >> > >> > >> On Sun, May 29, 2011 at 4:12 AM, Chris Kottom > >> wrote: > >>> > >>> This shoul

Re: [Rails] Re: Two buttons respond to same action

2011-05-29 Thread Colin Law
On 29 May 2011 13:17, amritpal pathak wrote: > > > On Sun, May 29, 2011 at 7:16 AM, amritpal pathak > wrote: >> >> >> On Sun, May 29, 2011 at 4:12 AM, Chris Kottom >> wrote: >>> >>> This should be everyone's starting point when first learning about Rails >>> routing: http://guides.rubyonrails.or

Re: [Rails] Re: Two buttons respond to same action

2011-05-29 Thread amritpal pathak
On Sun, May 29, 2011 at 7:16 AM, amritpal pathak wrote: > > > On Sun, May 29, 2011 at 4:12 AM, Chris Kottom wrote: > >> This should be everyone's starting point when first learning about Rails >> routing: http://guides.rubyonrails.org/routing.html >> >> Read it a couple of times at least. If you'

Re: [Rails] Re: Two buttons respond to same action

2011-05-29 Thread amritpal pathak
On Sun, May 29, 2011 at 4:12 AM, Chris Kottom wrote: > This should be everyone's starting point when first learning about Rails > routing: http://guides.rubyonrails.org/routing.html > > Read it a couple of times at least. If you're still unsure, at least > you'll have enough context to come back

Re: [Rails] Re: Two buttons respond to same action

2011-05-29 Thread Chris Kottom
This should be everyone's starting point when first learning about Rails routing: http://guides.rubyonrails.org/routing.html Read it a couple of times at least. If you're still unsure, at least you'll have enough context to come back and ask specific questions about the parts you don't understand

[Rails] Re: Two buttons respond to same action

2011-05-29 Thread Stefano
I think I can speak for most people (yeah notice the most, didnt want to speak for everybody) here in saying, no we cant. On May 29, 6:51 am, amritpal pathak wrote: > On Sat, May 28, 2011 at 12:30 PM, Frederick Cheung < > > > > > > frederick.che...@gmail.com> wrote: > > > On May 28, 3:06 pm, amri

Re: [Rails] Re: Two buttons respond to same action

2011-05-28 Thread amritpal pathak
On Sat, May 28, 2011 at 12:30 PM, Frederick Cheung < frederick.che...@gmail.com> wrote: > > > On May 28, 3:06 pm, amritpal pathak wrote: > > Hey > > I am using rails 3.0.7.I created two buttons simply as: > > <%= button_to "Great", :action => "click"%> > > <%= button_to "click me"

Re: [Rails] Re: Two buttons respond to same action

2011-05-28 Thread amritpal pathak
On Sat, May 28, 2011 at 2:24 PM, Bryan Crossland wrote: > On Sat, May 28, 2011 at 11:30 AM, Frederick Cheung < > frederick.che...@gmail.com> wrote: > >> >> >> On May 28, 3:06 pm, amritpal pathak wrote: >> > Hey >> > I am using rails 3.0.7.I created two buttons simply as: >> > <%= butto

Re: [Rails] Re: Two buttons respond to same action

2011-05-28 Thread Michael Pavling
On 28 May 2011 20:45, Colin Law wrote: > I had not realised till just now that John Shelfer is also Amritpal > Pathak oops! I thought you were just being *really* patient... > I think he/she is a wind up merchant just getting us all to waste > our time. +1 -- You received this message because

Re: [Rails] Re: Two buttons respond to same action

2011-05-28 Thread Colin Law
On 28 May 2011 19:24, Bryan Crossland wrote: > On Sat, May 28, 2011 at 11:30 AM, Frederick Cheung > wrote: >> >> >> On May 28, 3:06 pm, amritpal pathak wrote: >> > Hey >> >       I am using rails 3.0.7.I created two buttons simply as: >> >      <%= button_to "Great", :action => "click"%> >> >  

Re: [Rails] Re: Two buttons respond to same action

2011-05-28 Thread Bryan Crossland
On Sat, May 28, 2011 at 11:30 AM, Frederick Cheung < frederick.che...@gmail.com> wrote: > > > On May 28, 3:06 pm, amritpal pathak wrote: > > Hey > > I am using rails 3.0.7.I created two buttons simply as: > > <%= button_to "Great", :action => "click"%> > > <%= button_to "click me"

[Rails] Re: Two buttons respond to same action

2011-05-28 Thread Frederick Cheung
On May 28, 3:06 pm, amritpal pathak wrote: > Hey >       I am using rails 3.0.7.I created two buttons simply as: >      <%= button_to "Great", :action => "click"%> >      <%= button_to "click me", :action => "work"%> > > Router.rb file looks like: > > Check::Application.routes.draw do >  # get "