search for: m001057

Displaying 2 results from an estimated 2 matches for "m001057".

2008 Jan 22
4
newlines in text_area
Hi @ all I would like to enter a text with a text_area into the database. It runs excellent. But when I want to show the entered text in the show view, all newlines (paragraphs) are deleted and the text is only one block. How can I save the returns (newlines) too? Thanks for helping!! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received
2006 Oct 17
0
new handling of equality
...should == expected will pass if actual == expected) returns true At the high level, eql? implies equivalence, while equal? implies object identity. For more information on how ruby deals w/ equality, you should do this: ri equal? or look at this: http://www.ruby-doc.org/core/classes/Object.html#M001057 Also, we left in should_be as a synonym for should_equal, so the only specs that should break are the ones using should_equal (which used to use <code>==</code> instead of <code>.equal?</code>). Lastly, should_be used to handle true and false differently from any other val...