search for: streetnames

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

Did you mean: streetname1
2006 Mar 07
0
checking for existence of object in views
In my views I often find an error caused by trying to display a property of a non-existent object. Is there is a simpler way to avoid this than to append an ''if'' conditional at the end of each statement where the ''belongs_to'' object does not exist? <% for person in @people %> <tr> <td><%=h person.address.streetname if
2009 Feb 19
8
validate for street
Hallo all, can someone tell me what can be the regulare expression for this: "The Road", "The Road 12", "Road", "On the Road 89". -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this