Recent Learnings

In the last few weeks I have done a few new things are work for the first time.

First off, I learned how to do file upload with rails. To do this, I used a plug in called paperclip. It was quite easy, and straight forward to use. I wouldn’t imagine about how to do it without such a plugin. What paperclip does, is it takes multiple pieces of information from the file, in my case it was an image, and saves them all separately, but allows you to refer to a single object instead of all of the individual pieces.

Besides file upload, I also learned how to do authtication with a CAS (Central Authentication System). It was quite easy as well. I used a plugin for doing this also. (It seems to be a trend lately, and also a very nice way to learn how to do something without banging your head against the wall) The plugin that I used was one written by my boss for doing exactuly what I needed to do.

This entry was posted on Friday, July 17th, 2009 at 10:56 am and is filed under Rails. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

 
 

Leave a Reply