Force Rails Version When Creating a New App

Posted by & filed under Developer Blog.

I have multiple versions of the Rails gem installed on my development server. We’ve been using Rails long enough now that we have many apps created for many versions. As I make changes to each app I need to test them in their specific version (the version listed in the environment.rb file) so having multiple… Read more »

Titleize an Array List in Rails

Posted by & filed under Developer Blog.

First, a trick. If you want to display a comma separated list from an array all you need to do is multiply that array by a comma. “What’s that”, you say? You heard right. If you have an array in the variable @my_array you can simply place the following in your view: <%= @my_array *… Read more »

Rails Controller Variables not Loading

Posted by & filed under Developer Blog.

Don’t forget: “render :layout => …” should appear below any variables in your controller. I’ve spent a few hours trying to get the @variables set in my controller to show up in my layout. After much frustration and trying all kinds of fancy ways around my problem, it suddenly occurred to me that I was… Read more »

How I converted Mephisto to WordPress

Posted by & filed under Developer Blog.

I got a comment the other day asking how I converted to WordPress from Mephisto while keeping my comments and everything intact. If you are familiar with Ruby on Rails, this response will make sense. If you are not, I recommend learning it…then this response will make sense. In a nutshell, I used Mephisto for… Read more »

Mephisto to Typo migration?

Posted by & filed under Developer Blog.

This blog you are reading is powered by Mephisto. I originally created this blog using my own code in PHP and was so tired of re-inventing the wheel that I went out and researched what I thought would be the best blogging software for my needs. I’m in love with Ruby on Rails, so one… Read more »