Showing posts with label ruby on rails. Show all posts
Showing posts with label ruby on rails. Show all posts

Friday, December 24, 2010

Going down the .NET Dependency Rabbit Hole

After playing with Ruby on Rails earlier this month and becoming truly enamored with it's ease of use, succinct style and dynamic nature I was dreading going back to .NET development.  I thought my saving grace might be working with ASP.NET MVC which I have a growing respect for, although somewhat tempered after playing around with RoR.  That being said, I've spent the better part of two-full days trying to reconcile dependency issues with several OSS projects I'm using and unfortunately NuGet didn't solve my problem, but got in the way in some respects.


Tuesday, December 14, 2010

RubyMine 3.0 and RVM

Continuing on my journey of trying to learn Ruby/Rails 11 days before X-mas, I decided to test drive RubyMine from JetBrains and initially it had an issue with detecting rubies (ruby interpreters) I had installed via RVM.  I quick posting to the JetBrains's forum resolved the issue, but it did make me think just what are the benefits of using RVM as opposed to just installing Ruby and Rails system wide...


Wednesday, December 8, 2010

Loading CSV files using Rails 3.0.3

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...


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: