Wanting to learn Rails from the very basics at your own pace, with screencasts showing examples? This should suit you nicely. First of a series.
Loading in a configuration file can be really handy when you have a few settings that might change in the future of your application, such as contact email addresses or the strength of a spam filter.
If you're on a Mac you're lucky enough to already have Apache setup for you, and even better, on Leopard they even set you up with Rails too. So how about setting up mod_rails? It only takes a few minutes.
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.
Here's a quick way to build an RSS feed using some of the new features in Rails 2.0.
Nested resources were introduced in Rails 1.2 and are touted as the Right Way to do REST with parent-child model associations. If your app has a url that reads something like /employees?company_id=1, a switch to nested resources would cause it to read /companies/1/employees. Here's a detailed guide to developing with these new changes in mind.
I was making a RSS feed the other day and wanted to limit the number of characters in my description. Here is how I did it.
In this article we'll look at an alternative debugging tool for debugging Rails applications (or any Ruby script, for that matter) while still remaining up-to-date with the latest version of the Ruby interpreter. This tool is even slated to be bundled with future releases of Rails.
While it certainly makes no attempt to constitute a complete guide to the Ruby language, this tutorial will introduce you to some of the basics of Ruby. We'll power through a crash-course in object oriented programming, covering the more common features of the language along the way, and leaving the more obscure aspects of Ruby for a dedicated reference guide. I'll also point out some of the advantages that Ruby has over other languages when it comes to developing applications for the Web.
With Rubyforge and RubyGem, learn how to configure the initial runtime with all necessary features included when you're trying to set up Ruby on Rails on Windows.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials.
Mind lending a hand?