Tyler Clemons

Tag: Ruby on Rails

Exciting Changes to Ruby on Rails

by on Jan.22, 2009, under MERB, Ruby on Rails, WebTechs

http://www.infoworld.com/article/09/01/12/02NF-ruby-on-rails-merb_1.html

Rails will add some new features and enhancements by merging with MERB.  Should be interesting.

Leave a Comment :, , more...

Finding with Ruby Rails

by on Jun.28, 2008, under Programming, Ruby, Ruby on Rails

I’m sure anyone that has spent enough time with Rails has found this little annoyance.  The basic find() is pretty simple.

result = Table.find(params[:id])

A select query is performed on Table that seeks the row whose primary key matches the value returned by params[:id] Pretty cool, until it fails :(

(continue reading…)

Leave a Comment :, more...

OS Independent Excel Reports

by on Jun.28, 2008, under Programming, Ruby, Ruby on Rails, win32

I ran into this problem awhile ago. I was tasked with making Excel reports using Ruby on Rails. Since I was running on Windows, I just used Win32ole. It worked quite well until I remembered that Win32 is not platform independent.  Basically, if the system is hosted on a non-Windows machine the Excel Report will fail.  Great.  But, Ruby isn’t out for the count yet.  I found a pretty cool spreadsheet generator at RubyForge.  After installing spreadsheet, it is pretty simple to use. You can either install it by downloading it from the web, click HERE, or use ruby gems by typing this on the command line: “gem install spreadsheet-excel”

(continue reading…)

Leave a Comment :, , , , , more...

Looking for something?

Use the form below to search the site: