While watching the Falcons vs Bucs game on NFL Instant Replay on the NFL Network (that channel absolutely rocks), I decided to take up a challenge and build a very simple RoR app that uploads a CSV file that contains a list of Cities and corresponding zipcodes and store it in a database. The app will have simple CRUD operations for City/Zipcode as well as an upload view for uploading the file to the server. From the start I decided to have two controllers (one for CRUD'ing the City/Zip and one for Uploading the file). And here we go...
Wednesday, December 8, 2010
Loading CSV files using Rails 3.0.3
Monday, December 6, 2010
More DRY in Controllers with Rails 3.0.3
One of nice features of the new version of Rails is that Controllers are now more concise as far as what types of formats a action responds with.
Below is the old pre 3.0.3 style:
Below is the old pre 3.0.3 style:
Subscribe to:
Posts (Atom)