Re: [Rails] Re: wrong number of arguments (3 for 2)

2012-08-01 Thread Gintautas Å imkus
That's two params: Symbol (:procedureexecutions), followed by a hash (which omits {}): :label => "Run", :inline => false ) So that's fine. 2012/8/1 deal bitte > yaa...but this line throws no error > > config.nested.add_link(:procedureexecutions, :label => "Run", :inline > => false) > > > Colin

[Rails] Re: wrong number of arguments (3 for 2)

2012-08-01 Thread deal bitte
yaa...but this line throws no error config.nested.add_link(:procedureexecutions, :label => "Run", :inline => false) Colin Law wrote in post #1070901: > On 1 August 2012 12:02, deal bitte wrote: >> wrong number of arguments (3 for 2) I am getting this error for the >> following lines. I have m

[Rails] Re: wrong number of arguments (3 for 2)

2009-03-04 Thread Frederick Cheung
On 4 Mar 2009, at 01:44, Zqj Zqj wrote: > > Showing vendor/plugins/community_engine/app/views/users/new.html.haml > where line #40 raised: > Only time i've seen this is with plugins that fiddle with the date helpers, globalite may well be one of them Fred > wrong number of arguments (3 for 2

[Rails] Re: wrong number of arguments (3 for 2)

2009-03-04 Thread Heinz Strunk
Hey, try: date_select("user", "birthday", :start_year => 1926, :end_year => Time.now.year-13) -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.