Adam Perfect

General

More Rails

I continued my foray into the world of Ruby on Rails this evening with some success. As I started out in PHP writing a forum system, I decided it'd be a good app to build up a I get the hang of Rails and indeed, in the space of a couple of days I've got a basic forum going, with multiple forums and the ability to post new topics and replies. Tonight I got around to sorting a user authentication system and Rails doesn't disappoint there. It seems ready-made login code has been built up quite well already and I had the Salted Hash Login Generator working in short order (bar a brief confusion until I found out it needs the iconv package on Windows). So I now have a basic forum system with proper user registration and login. I've been developing the database to store the posts in a proper threaded (tree) system, though I'm sticking to displaying in 'flat' view for the time being. I've also been using Rails' built-in tree behavious, so I'll have to wait and see if that does what I need when it comes to offering threaded as well as flat view forums. More to come I'm sure...

Written by Adam on

Adam is a Director of User Experience by day and photographer as time allows.

You may also like…