Mountain West Ruby Conference

March 28th, 2008 1 Comment

I’m at the Mountain West Ruby Conference for the next few days so I will be doing a bunch of blog posts that look like notes.
Up right now:
Strengthening the Ruby Ecosystem & Ezra Zygmuntowicz Evan Phoenix
Evan is talking about Rubinius. Engine Yard pays him to work on the project full time. Even doesn’t [...]

Tags:   · ·

Plugin Loading for Ruby on Rails has Changed.

March 22nd, 2008 No Comments

I am tired of recreating the login system for Rails for each new project so using the RESTful Rails Authentication Tutorial I created a template project that I can use to create new projects. While adding in the OpenID Authentication component I started getting this error:

/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:376:in `new_constants_in’: You have a nil object when you [...]

Tags:   · · · ·

Big Companies Using Ruby on Rails

March 19th, 2008 No Comments

I am frequently asked how reliable/scalable is Ruby on Rails? I usually tell people about Twitter or more recently point them to this article about the Friend’s For Sale Facebook application. The answer is, yes Rails scales just fine. The trick is getting your database to scale.
Anyway, Obie Fernandez, a [...]

Tags:   · · ·

Ruby fs-api

March 12th, 2008 No Comments

I am in the Ruby-fs API presentation now. Funding for the library came from USFamilyTree.com.
It is REST based.
Data model is:
Person
Person has many Assertions
Assertion has one Contributor, Citation(not yet implemented), Note
Each person has a lot of data associated with them so you don’t want to be parsing xml data on the [...]

Tags:   · · · ·

secret given to the #protect_from_forgery call

February 7th, 2008 28 Comments

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

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 keys [...]

Tags:   · ·

OER Code Sprint

February 6th, 2008 No Comments

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

Tags:   · · ·

Professionals and The Enterprise

January 30th, 2008 1 Comment

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

Tags:   · · · ·

Use Mac Ports on Leopard to get Ruby on Rails Running

January 17th, 2008 No Comments

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 install mysql5 +server
sudo [...]

Tags:   · ·

SWFUpload - the Best File Upload Utility for Any Platform

January 15th, 2008 No Comments

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

Tags:   · ·

The Inflector Module - Another Reason to Love Rails

January 11th, 2008 No Comments

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

Tags: