Ruby on Rails Database Setup Tutorial

Posted by Andrew Cetinick on June 24th, 2008

Ruby on Rails supports many different type of databases. How do you setup Ruby on Rails with your database? Here are some examples to help you out.

Read the rest of this entry »

Ruby on Rails one-to-many Tutorial

Posted by Andrew Cetinick on June 17th, 2008

This tutorial covers the basics of implementing a one-to-many relationship in Ruby on Rails. There are many options available to you when creating this relationship. You should be aware of these, and I will cover a few of the important ones. I will also show you some of the methods Rails gives you access to in the relationship.

Related: Ruby on Rails many-to-many Tutorial
Related: Ruby on Rails one-to-one Tutorial

Read the rest of this entry »

Doctrine Tutorial

Posted by Andrew Cetinick on May 28th, 2008

When writing an application that has poetential to grow it is important to use Object Relational Mapping(ORM) to access data in your database. Doctrine for PHP is an ORM which generates models for your tables, giving you access to methods to update/delete/insert/find records in your database. It also supports the relationships between objects through the table relations.

Read the rest of this entry »

Using an Excel Pivot Table with an Access database tutorial

Posted by schone on May 23rd, 2008

This is a step by step tutorial on how you can set up an Excel Pivot Table based on an Access table or query.

Read the rest of this entry »

Rails authentication tutorial

Posted by Andrew Cetinick on May 15th, 2008

To implement authentication for your Rails application I recommend using the restful_authentication plugin created by technoweenie. There are quite a few plugins at his Git repository , so I recommend that you take a look.

Read the rest of this entry »

acts_as_ferret tutorial

Posted by Andrew Cetinick on May 13th, 2008

Lately I have been playing around with the acts_as_ferret plugin which makes it dead simple to implement full text search in your models for Ruby on Rails. The plugin is designed for the Ferret gem (a full featured search engine based on Apache Lucene). In this article I will guide you through the steps needed to implement searching for your models and talk about some of the problems I faced on the way.

Related: Ajax search in Rails
Read the rest of this entry »


Copyright © 2008 Jumbabox. All rights reserved.