Posts tagged Rails

This is a semi-active blog. Once I write a post, I usually never update them. If you will read through some of these and try to follow them, please do so at your own risk. Technology changes quickly. Established languages are not as cool as they used to be. Some tutorials written several years ago may no longer work and do not reflect present day best practices.

Rails 3 Upgrade Resources

rails3 ruby

Many of us have several existing 2.x applications and would want to upgrade without pulling our hair because we can't figure out something or we are wary of consuming too much time. I'm about to post several links where you could find useful advice on upgrading Rails 3. Feel free to share other links if you know some.

Continue reading »

Why You Might Not Use Named Scopes In Rails3

rails3 arel activerecord

Some apps probably do not use the field "promoted" primarily because there's a published field then all published posts will be promoted on front page. But in Drupal, nodes have promoted field and I think most apps should too. Sometimes you wouldn't want to show everything on the front page or want some post on top of the list of posts.

Continue reading »

How to Install RVM and Rails 3 on Snow Leopard

ruby mac rails

Snow Leopard includes Ruby and Rails by default if you install XCode. The version is 1.8.7 and 2.2.2 for each, respectively. This would not suffice for most developers because we need to start porting to Ruby 1.9 and start experimenting with Rails 3. The goal is to just keep moving forward and use the best version that exists.

Continue reading »

Rails 2.3 XSS Plugin

rails security

I you are using exception notification plugin for production (which, by the way, you should), this fork of the original plugin might help you avoid any weird issues related to the XSS plugin and Rails 2.3.5:

Continue reading »

Installing Ruby Gems on Dreamhost

dreamhost ruby rails

I wouldn't recommend it to people with budget and have little patience. You can go for Heroku, Slicehost and Linode. I've tried Linode and it's a very good option for advanced users, a.k.a, Unix nerds. Clients have used Slicehost and other VPS hosts. Point is, VPS rules. Dreamhost has it PS plans but if you are serious about business go for the so-called cloud services offered by Rackspace. (And just an F.Y.I, Rackspace also owns Slicehost).

Continue reading »

Hello! I am Kat. I've been a developer for several years. When I'm not sitting down, reading and working for long hours, I am traveling to some place of interest.
If you want to reach out, you can send me an email or add me up on Google Plus.