search for: jmcervera

Displaying 4 results from an estimated 4 matches for "jmcervera".

Did you mean: cervera
2010 Jul 08
3
Testing equality
Hello How can I test equality with two objects when they include some attribute that is BigDecimal? if I make something like this: it "should ...whatever" do obj = Factory.create(:my_object) ... MyObject.first.should == obj end. FAILS This fails because the object expected is different from the object gotten, and the only difference are the BigDecimal attributes, that are
2006 Jun 02
0
Take some field out of the tab order in a view
I am trying to set the NOTAB html option in a field helper I have tried with: <%= text_field(:variable, :attribute, {:notab => true}%> But It doesn''t work. Can somebody point me in the good direction? Thanks -- Posted via http://www.ruby-forum.com/.
2006 Jun 12
0
Passing parameters to ''remote_function''
Hi, I am trying to use the ''remote_function'' helper method from the PrototypeHelper class on a the onblur event of a text_field for filling a form with data via AJAX. How can I get the value of the text_field for making a query to the database in the controller action? <%= text_field("item", "code" , :onblur => remote_function(:update =>
2006 Feb 09
1
acts_as_authenticated plugin
Hello, I have just installed the plugin. Can somebody tell me how create some users in the ''users'' table. Is there a doc explaining how to use the plugin for a newbie? Thanks Juanma -- Posted via http://www.ruby-forum.com/.