How would you like to MASTER graphic design by next week?
Click here to find out how
Featured Photoshop templates - professional ready to use designs for your next project
View all templates
Ruby on Rails Tutorials
Get Any city weather in ruby in 8 lines of code - Ruby on Rails tutorial
Get Any city weather in ruby in 8 lines of code #ruby #rails #code #weather
Category: Ruby on Rails tutorials - Difficulty:
More cool Ruby on Rails tutorials:
Building RSS Feeds in Rails 2.0
Here's a quick way to build an RSS feed using some of the new features in Rails 2.0.
Login & Authentication Generator
A controller/model/view generator for easily adding authentication, users, and logins to your rails app.
Ruby for Newbies: Variables, Datatypes, and Files
Ruby is a one of the most popular languages used on the web. We’ve recently started a new screencast
Handling SQL injection and XSS in Rails
The unfortunate part about learning a new language or technology is that there's typically little focus on security matters. Rails gives you a lot of time-saving helpers and methods, but you still need to understand where your app might be vulnerable. This is a quick overview of protecting your code against SQL injection attacks and cross-site scripting exploits.
Dangers of Model in Session
Be careful when storing a model in a session. It will behave differently than you expect and can easily get out of sync with the database. Instead of storing the model directly in the session, store the id to the model and use that to fetch it from the database.