The Rails framework takes most of the headache away from developing these relationships and almost entirely eliminates the need to write low-level queries to your database. If you've spent time writing those queries, Rails' ActiveRecord will make sense, but for those of you who are just getting started this can be confusing.
In this tutorial, we'll go through the following steps:
Setup the environment
Create the SQLite database
Develop the Rails application
Create the RBA (= Ruby archive) from the application with Tar2RubyScript
Create the standalone executable with RubyScript2Exe
How to setup a Windows development PC and a shared web host environment so you can start developing Ruby web applications in the same way you do PHP, embedded in HTML. Ruby is easy to learn and has features that make it more useful than other web scripting languages. Now you can use eRuby to create robust web applications and websites.
Yes, you can run Ruby on Windows and eRuby on Windows IIS web servers. Ruby has many features to process text files and to do system management tasks as languages like Perl or Python do. Ruby is also a great web scripting language. Follow this tutorial and you can use Ruby on your Windows IIS web server by setting up eRuby to process *.rhtml pages.
Ruby is a great language to use to create a dynamic website. Here's how to use it to do CGI scripting. Using eRuby ERB templating to seperate the HTML from the script makes CGI a perfect alternative to using the Rails framework. Easy and faster than you would expect. So easy in fact that you may forget about using Rails all together.
SUSIE is a simple image gallery that is an opensource eRuby application. It is interesting because it shows how Ruby, a powerful and fully object oriented programming language can be used to do the tiniest of tasks. Ruby can be used as a fast procedural code language that rivals PHP and still do things in OOP that Java and C# cannot.
If you want create a dynamic web page that works on more than just MySQL then try Ruby DBI. Ruby DBI will help you create a single database interface for connecting your web application to multiple database types like MySQL, PostGreSQL and SQL Server. This article also explains some of the typical mistakes made when installing Ruby DBI.
This article details the components of Rails and shows you how it works.Rails gives you an extremely quick way to develop flexible Web applications; this introduction just barely touched on what it's like to work with Rails. The full framework contains many useful classes and methods for carrying out the actions most used in Web-based applications.
RoR's default pagination methods have a number of bottlenecks. In this guide you will learn how to use paginating_find to create fast, reusable and good looking pagination code for your projects. This method also works for pagination of find_by_sql queries and even supports find_by_sql with eager loading!