My code was running fine under Rails 2.0.2. Then I enabled the db based session store by uncommenting this: config.action_controller.session_store = :active_record_store </pre> in environment.rb. Anything that used the session after that gave me this error: No :secret given to the #protect_from_forgery call. Set that or use a session store capable of generating its own…
Category: Programming
OER Code Sprint
We are at the end of the second day of the OER code sprint. This has been a great time feels quite a bit different than the higher level OER meetings I have attended. The first few hours of the first day were spent chatting, but after that I think that quite a bit of…
Utah WordPress Meetup
I spent this afternoon with some really cool and interesting individuals from around utah. Matt Mullenweg, the original developer of WordPress was in town and was willing to come and hang out, each lunch and chat for a couple of hours about anything. Matt is a very cool guy not only because he created the…
Professionals and The Enterprise
Professionals and the enterprise Under threat of divorce if I didn’t hang my Christmas lights this past Christmas I braved the elements and managed to put them on the trees. Of course this wasn’t sufficient to prevent the impending separation – only lights on the top eves of the house would be a sufficient sacrifice…
Framework Problems Will Ruin Your Day
I created a code generator that writes all the of the code that connects ThePlanCollection.com website with its database. It is kind of like ActiveRecord that makes Rails so useful but not nearly as elegant. Someday I will release it as open source, but I am probably to late given all the other code generators…
A Gazillion House Plans on ThePlanCollection.com
I updated ThePlanCollection.com last night. I must admit that updating when you are tired is not always the best idea, but I figure everyone else is probably asleep so there isn’t really a better time. We don’t really have a gazillion house plans, but sometime it feels like it and being able to manage all…
Use Mac Ports on Leopard to get Ruby on Rails Running
I am stealing this from Dave South, Logan Ruby User Group Illuminati. If I don’t extract it from my email I’ll never find it again. So I’ll ask for Dave’s forgiveness for the blatant plagiarism. Install MacPorts, first: http://www.macports.org Be sure to put /opt/local/bin and /opt/local/sbin in your path. PORT programs to install: sudo port…
SWFUpload – the Best File Upload Utility for Any Platform
Uploading a file to a website is a pain. Uploading lots of files to a website makes the UN list of known methods of torture. At tonight’s ruby group meeting Dave South showed off SWFUpload. This has to be one of the best uses of Flash ever. Now to upload 50 files you just browse,…
The Inflector Module – Another Reason to Love Rails
I love how when you need something in Rails the solution is usually already in place. For instance in the indulgenc.es application I have the need to create a rank with 1st, 2nd, 3rd etc. In most frameworks you would have to write this functionality yourself or if you are very lucky you might find…
Indulgenc.es
My second Facebook application is up. I and Marion built something to help you and your friends enjoy the lighter side of life. Try out Indulgences.