Using jQuery with Ruby on Rails
"By default, Rails comes packed with the Prototype javascript library and the effects library, Scriptaculous. While this is all well and good sometimes you want a change. I personally prefer jQuery to prototype. I don’t have any beef with prototype, infact I used it for about a year before even getting into rails, but I just prefer the jQuery syntax and selectors."
Blog:
mHub -
Read More...
19 Rails Tricks Most Rails Coders Don’t Know
When looking at my own Rails code and that of the community as a whole, I often see places where certain Rails techniques could have been used, but weren't. As much for my own memory as yours, I thought I'd list down some Rails tricks and tips that can make your application or code more efficient:
Blog:
mHub -
Read More...
RJS Assertions
I've been doing a little bit of refactoring and code improvement on some of my pet Rails projects. One of the things that I'd previously not found a great way of testing was Rails 1.1's RJS templates, Ruby generated JavaScript, a key part of Rails' AJAX support. I've posted previously about what I've been attempting, and you can see from the example test that it's not particularly pretty:
Blog:
mHub -
Read More...
Flexstore on Rails Tutorial
Flexstore is a traditional Shopping Cart application that you can write in Ruby on Rails. Very comprehensive and cool.
Blog:
mHub -
Read More...
Beginners Guide to Rails, part 1
The last write up I did here focused on the simplicity and flexibility of the Rails framework when using databases. This article will begin a series of tutorials that I will be writing here and cross posting on my site. My hope is that I can guide those who are very new to Rails and Ruby on the path of learning this awesome framework and language.
Blog:
mHub -
Read More...
Rails RJS Templates
During my daily reading of the Ruby on Rails mailing list I ran across a post asking about RJS templates. I hadn't heard of them before and I was intrigued to find out more.
Blog:
mHub -
Read More...
lighttpd 1.4.8 and multiple rails-apps
lighttpd 1.4.8 was just released and next to a pile of bugfixes we added a new option to fastcgi.server to allow a simple setup of multiple rails app in one virtual host.
Blog:
mHub -
Read More...
Integrating a Rich-text Widget with Struts
The problem was straightforward, all I needed was a rich-text editor that would allow me to create XHTML that I could then send back to the client. I already had a textarea, and I just wanted a rich-text replacement. I thought this was going to be simple, but the problem cost me hours. In this entry, I show the process I used to identify a suitable AJAX/Javascript library, read on...
Blog:
mHub -
Read More...
Progress Bars with GD2 and Ruby
I went milling about for source for progress bars that would be suitably embedded within a Ruby on Rails application I'm working on and came up with nada. Sure, sure there are lots of bars that have to do with live uploading and whatnot (see: here); but nothing that grabbed me with the interface I was looking for (call function, return data).
Blog:
mHub -
Read More...
Ruby On Rails - AJAX Live Data Grid Example
Historically, data sub-forms are not something that have been presented well on the web. Pop-up windows and browser page refreshing are a significant regression from the interfaces which have been provided by client/server desktop applications for over a decade. Luckily, with the advent of Rails and its partials rendering, we are in a position to do something about this usability shortfall.
Blog:
mHub -
Read More...
Using Ruby on Rails for Web Development on Mac OS X
It should come as no surprise that Mac OS X is a favored platform for Rails development. Rails and its supporting cast of web servers and databases thrive on the rich Mac OS X environment. The premier text editor favored by legions of Rails programmers everywhere is TextMate, a Cocoa application. And all members of the Rails core development team work with Macs. This article introduces you to Ruby on Rails by building a trivial web application step by step. Consider it a ride on the express train--an overview of what Rails can do, including a look at features new to Rails 1.0. In the end you'll be better equipped to consider the advantages of powering your web application with Rails.
Blog:
mHub -
Read More...
Ajax Scaffold Generator for Rails
So I just gemmed and uploaded the v2.0 release of the ajax scaffold generator. There are quite a few improvements in this version please check it out.
Blog:
mHub -
Read More...
Shovel - Rails Deployment with Lighttpd
Shovel is a customized Switchtower deployment file to setup config files on TextDrive in order to make it easier to start running Rails with lighttpd. It could also be modified to work with other shared hosts who run lighttpd.
Blog:
mHub -
Read More...
Watir
WATIR stands for "Web Application Testing in Ruby". Watir is a free, open-source functional testing tool for automating browser-based tests of web applications. It is pronounced water.
Blog:
mHub -
Read More...
AJAX powered chat in 3 hours on Ruby on Rails
A simple Web based chat built with Ruby on Rails. It seems to work okay, but I've only tested on FireFox and Safari. On IE it's bound to look totally out of wack as I'm not sure it supports position: fixed, which I used for the IRC-esque layout.
Blog:
mHub -
Read More...
Selenium on Rails
One of the things I like about Rails is the built-in support for testing - it's almost hard not to write tests. But even if I write extensive tests (currently "Code to Test Ratio: 1:3.4" according to rake stats in a small toy project) I still feel that it's not enough. That's where Selenium comes in. It's a javascript based functional test tool that uses Fit like test scripts to test web application directly in the browser.
Blog:
mHub -
Read More...
Using the Ruby Development Tools
Plug-in for Eclipse
Blog:
mHub -
Read More...
Ruby Code and Style
peer-reviewed, online journal for the Ruby community
Blog:
mHub -
Read More...
Enterprise
Ruby On Rails
Blog:
mHub -
Read More...
Plugin System
For Ruby on Rails
Blog:
mHub -
Read More...
1 2 >