Upgrading and Freezing Rails

In this one I'll talk about how I went about upgrading my app to the latest version of Rails, and also use of the freeze_gems feature (which I was pointed to by reader Justin - and I originally misunderstood).

Read more..

Junkheap on Rails is live!

So I've finally got a Rails version of Junkheap live! It's very basic at this stage and doesn't contain all the features I've written about here that I'm going to add, but now that it's live it'll be more motivation to add them.

So hopefully I'll start posting here more often as I keep working on Junkheap!

Ruby on Rails 1.0

Ruby on Rails 1.0 has been released. I have been pretty lazy in regards to personal projects recently so have not been updating this site, as well as being away on holidays.

Read more..

Markdown preview with AJAX

One of the nice things about Ruby on Rails that people often mention is it's AJAX support. Having this solid code integrated into the platform really does make it easy to use. For the purposes of learning how it works I added an AJAX based "Preview" button for my content field, which is Markdown.

Read more..

Rails Contributor

It took just over a month to get to my patch, but I'm officially a Rails contributor now. Sure it's a trivial bit of code, but it's pretty useful and wasn't previously available!

Tagging and HaBTM Relationships

I wanted the ability to be able to add tags to content without needing to define the tags in advance - kind of like Flickr where you just type your tags in. This turned out to be pretty easy using Rails' "Has and Belongs To Many" (HaBTM) relationships, but there are some things to look out for.

Read more..

Progress..

Just another relatively light post to let you know that I'm still alive.

Read more..

Building an "archive" page

I've been working on Junkheap, and it's almost ready to go live in a basic form that I can build on. So day one it might not have everything, but I'll be more motivated to work on it once it's live!

In the meantime, when I was building the Junkheap archive page I didn't like the logic I was using so I rethought my approach..

Read more..

Mmm... Cookies

Reading and writing cookies is a simple affair in Ruby on Rails, but I did run into one bit of weirdness that I thought I'd share.

Read more..

Still alive!

Just letting you know I'm still alive. I have run out of steam for new content at the moment, since Rails Diary is pretty much done and I am finally thinking about Junkheap . I do have one more article "pending" about cookies, since I found some weirdness there when implementing it for comments and will write that up soon. Actually, I don't think I've even uploaded the "remember me" functionality.

I did end up submitting that patch for a strip_tags function.. we'll see how that goes!

< Prev Page 2 of 4 Next >