BB Moderation Hold plugin w/ BB Press version 1.0+

Posted by & filed under Developer Blog.

It appears that the BB Moderation Hold plugin hasn’t updated for newer versions of BB Press. The moderation links are not appearing in the admin navigation and when you click “moderate” from within the post itself as a moderator it redirects to the homepage rather than taking you to the moderation pages. The fix for… Read more »

His Story

Posted by & filed under Developer Blog.

(It turns out I’m a fan of using puns for titles) A great man once gave me some very personal and sound advice. Among other very important things, he admonished me to “Learn about history. Learn from the lessons of the past.” I was only 19 at the time, and took what he said as… Read more »

Using JQuery to reveal using a slide up effect

Posted by & filed under Developer Blog.

The slideUp() method in JQuery is intended to hide the element rather than reveal it. It is basically the opposite of slideDown() which “unhides” your element by sliding it down. As you can see on this blog, I have an “About Jason Gill” tab in my heading. When clicked, this tab reveals information about who… Read more »

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 »