26.3.11

Destroy - Ruby Blog

I've followed all the instructions from http://guides.rubyonrails.org/getting_started.html and I've a blog set up, that has a form, allows a user to create a post, comment, edit, add tags, has some security to protect who can post,and edit, delete etc.  Only problem is that when I click delete post, I get the expected message "are you sure?" with the option to continue or to cancel.  However when I click cancel it goes ahead and deletes the comment anyway.  So I'm trying to find out how I can fix this. 

13.3.11

Scrum Mindmap

12.3.11

Ruby Rails and our Chapter Two assignment

I've got everything to work..... Rails is up and running, the server seems to be behaving himself, I've created two web pages that link to each other, and on one of the web pages I've embedded some ruby that does some nifty stuff like tell us what time it is now, list all the documents in a directory, do some simple calculations, tell us what time it will be from an hour from now, and it also adds some simple strings to-gether.  So happy days!  But along the way I've strayed a little from the instructions in the book.

11.3.11

Installing Rails..it was all going so well until...

I watched Wesley install a new Rails app and thought, Wow that doesn't look so hard.  I set about setting up my own application and it seemed to be going swimmingly despite a small sqlite3.dll missing glitch.  I soon rectified that by downloading the missing dll and putting it in the bin directory of my Ruby 192 application.

8.3.11

The Team / Person / Require exercise

So far we have learned how to create classes, define methods, create variables that can be used by the methods, and create arrays.  The next thing I think is to get all these bits and pieces to talk to each other.  So we've made a person class that makes people, we've made a team.class that makes teams, but now we need to be able to make the put the people into the teams. So I finally think I've got my head around how this all could work.  I need to be able to pass an object I have created into a method that I have defined.  I was given that nugget a week ago but it sounded like swahili to me.  What a difference a week makes. :)

6.3.11

Installing Ruby Mine & Java SDK


I've run into some problems installing Ruby Mine. I had Netbeans installed but I uninstalled as our tutor has advised using Ruby Mine. So I fired ahead and installed Ruby Mine. I had previously installed Java SDK 6 and all seemed to be working fine.

5.3.11

SQL exercise

I'm uploading the details of how I completed our first SQL exercise.  It makes for some fairly boring reading, but I may have to refer back to it someday and will be glad I made it available here.