> rails generate scaffold RealEstateListings address:string ⇓ city:string property_type:string price:integer ⇓ bedrooms:integer bathrooms:integersize:integer year:integerNote: the RealEstate Example modifies the index view and the CSS styles for it to give it a look inspired by Zillow. Look at this example carefully. It will be useful for Project 2.
sort length count (same as length) each collect reverse + (concatenate) [ ] (array lookup)
# Old fashioned notation: <%= link_to "IBM", "http://ibm.com", :target => "_blank" %> # Modern notation: <%= link_to "IBM", "http://ibm.com", target: "_blank" %>