Click to find out more about our Work

Archive for the ‘Ruby on Rails’ Category

October 4th, 2008

Tutorial : Introduction to AJAX in Ruby on Rails with Prototype, Script.aculo.us

Heya,
After a long time I had the time to update my blog. I have been working on my project presentation for the past 2 weeks. The entire presentation was developed in Flash CS3 coded in ActionScript 3. It was ages since I had used Flash and I was quite astonished how it had changed over the years. I`ll be soon posting some tutorials on Flash, so do keep an eye out ;)

Anyways apart from being a bit off-topic, This tutorial deals with AJAX implementation in Ruby on Rails 2. While I was learning RoR, I had lot of issues of properly having AJAX implementation in my projects. This tuorial is for those people out there.

In this tutorial, I`ll just show some very simple Script.aculo.us Animation Implementations in RoR.
View Demo

5 Comments
September 11th, 2008

Tutorial : Create a login system in Ruby on Rails

Hello everyone,
In today’s tutorial I`ll teach you how to create a very basic Login System in Ruby on Rails. Welcome to Tutorial : Create a login system in Ruby on Rails. Before proceeding I would suggest you guys to read Tutorial : Create a blog using Ruby on Rails 2. (Part 1 – Relationships) since we will be using this sytem in our application.

Introduction

We will create a very simple standalone login system first, It will check the database for valid users. Then I`ll let you know how to integrate a similar login system in our blog application. First of course the basics.

We would need to design

  • Login page
  • A page which would have to be protected by the login system
  • Function to Check session, if not valid, then redirect to login page.

Demo of the Login System in RoR : Click Here (user:admin,pass:admin)

30 Comments
August 24th, 2008

Tutorial : Create a blog using Ruby on Rails 2. (Part 1 – Relationships)

Hello !
Its been a long time since my last post. I have been hell busy this week, barely had time to update. This is the revised version.

This tutorial will form the base for the upcoming series of tutorials on how to create a simple blog application in Ruby on Rails(RoR).
Part 1 will discuss about how relationships are defined in RoR and the basics as usual ;)

Index

27 Comments
August 14th, 2008

Tutorial : Basics on Ruby on Rails 2 Model, Controller and Views and Routing

Hey Guys,

Finally I got 2 days off from my college *yay*. Now there will be lots of updates. Anyways, You must have noticed the new “Featured Flash Widget” and some small changes here and there, the site is being updated constantly with a lil tweaks here and there, so please bear with it. Today I`ll show you how to create a simple “Hello World” application in RoR2. When I was trying to learn RoR2, there were no articles on how to create a simple “Hello World” application. So I thought I`ll take this time to introduce all the newbies to Ruby on Rails 2 on how to create a simple Hello World App.

If you don`t know how to install RoR2 in your system and want more information about Ruby on Rails 2, do read this tutorial
Tutorial : Installing Ruby on Rails 2 in Windows Vista/XP (4.75 out of 5)

Index

3 Comments
July 10th, 2008

Tutorial : Developing your First Ruby on Rails 2 Application


So, you want to make an application using Ruby on Rails (RoR) huh ! Well, Lets try to make a simple “Article System”. Ruby on Rails is very easy at the same time a lil complicated. If you want to know more theory about Ruby on Rails, you can visit its official homepage http://www.rubyonrails.org. If you want a small summary of what it is, you can read my previous post Tutorial : Installing Ruby on Rails in Windows Vista/XP.

Like I said in my previous post, RoR uses the MVC Architecture. (M-Model, V-Views, C-Controller)

MVC Patter

31 Comments
July 9th, 2008

Tutorial : Installing Ruby on Rails 2 in Windows Vista/XP

Greetings,

Most of you must have heard of “Ruby on Rails (RoR)”. It being touted as the next best thing (apart from php :P ). Well lemme give you a lowdown of what Ruby on Rails is…

I`ll try to explain the power of RoR in the simplest of words,

If PHP can do something after typing 75 lines of code, RoR can do the same thing in typing mearly 3 lines of code !!!!
Thats as simple is it gets ! But then again, there is a catch to it, RoR is equally complex. So Today, I`ll just give you the basic idea of what Ruby on Rails is, and how to set up a developer environment for RoR, So next time we can directly start creating applications. woohoo !

23 Comments