Site Archives

Plugin: validate_request


A very useful plugin by Scott A. Woods.
validate_request plugin allows us to check the request method and parameters that are used to call your action.
For Example consider an add_to_cart action as:

def add_to_cart
@product = Product.find(params[:id])
@cart.add_product(@product)
end

The link to add an item to our cart should like store/add_to_cart/nnn, where nnn is an integer. There will be an [...]

Plugin: tabnav


Add tabbed navigation to your Rails application in a easiest way.
For more details please visit http://blog.seesaw.it/articles/2006/07/23/the-easiest-way-to-add-tabbed-navigation-to-your-rails-app

An Escalator Puzzle


Bob takes the underground train to work and uses an escalator at the railway station. If Bob runs up 6 steps of the escalator, then it takes him 52.5 seconds to reach the top of the escalator. If he runs up 14 steps of the escalator, then it takes him only 32.5 seconds to reach [...]

JotSpot.com


JotSpot Live allows you, your colleagues or clients to take notes together on the same web page at the same time. Imagine everyone simultaneously typing and editing the same Microsoft Word document and you’ll get the idea. Visit JotSpot.com

19 Rails Tricks Most Rails Coders Don’t Know


I was searching for some Rails tips and found a very good post, Click here to visit