Wordpress - allaboutruby.wordpress.com - All About Ruby
General Information:
Latest News:
Rails 3 screencasts 28 Jun 2010 | 09:12 am
Great screencasts of upcoming Rails 3 release, that show you the main differences from Rails 2. Watch them here.
Two monitors on Windows 24 Jun 2010 | 09:18 pm
I am working with two monitors and there are 2 things that I use, one is now a standard Windows 7 feature and second is a patch to Flash that you might find useful: 1 – Moving applications / windows ...
RubyInstaller RC1 is out 26 Dec 2009 | 09:42 pm
There’s finally an easy way to install Rails with Ruby 1.9 using the recently released RubyInstaller (Release Candidate). RubyInstaller uses MinGW (Windows port of GCC compiler) to create binaries and...
Commenting out chunks of view 15 Dec 2009 | 02:33 am
It’s not as easy to comment out big chunks of Rails erb (view) code. Here’s the one that seems to work fine for people: If you simply try using HTML comments, the code will still execute. Finally, i...
Upgrading the script/console in Windows VISTA environment 10 Dec 2009 | 12:03 pm
If you haven’t been actively using script/console – you should start it now. It allows you to test things out in the environment of your project with a direct feedback. So, if you want to check those ...
vote_fu to work in Heroku (Postgres) 7 Dec 2009 | 02:19 am
In order to make vote_fu work in Heroku’s PostgreSQL you need to make a slight modification in the tally method, to follow a classical SQL notation: Add this method in acts_as_voteable.rb just after ...
Rails 2.3.5 6 Dec 2009 | 06:35 am
Rails 2.3.5 is out. It provides a better Ruby 1.9 compatibility, you will now not need to escape everything with h() if you install a RailsXss plugin – I think this is great, and now the Nokogiri XML ...
Hosting your Rails app – first look at Heroku 6 Dec 2009 | 06:07 am
Introduction: You should really get professional help I am building an app and needed to show an unfinished version to some guy. As I am building on a local (windows!) box, I decided that it’s time t...
Rails caching – resources 31 Oct 2009 | 11:02 pm
When you create anything serious on Ruby on Rails, you will most definitely need to start thinking about caching. As Ruby is a high-level language, a lot of crunching goes on to make the magic work. S...
Ruby variables 25 Sep 2009 | 07:17 am
Something that you might have to watch out for when working with Ruby is how it works with variables. Ruby variables are only references (pointers) to objects. Therefore, you might experience a subtle...