This week, I've been deploying one of my current Ruby on Rails projects to WebFaction.
For what we found, it's definitely one of the best options out there for shared hosting with Python and Ruby.
Tagged 'rails3-1'
-
Rails 3.1: Treating your '.swf' files as assets
-
Replacing ERb with HAML on your Rails application generators
As you may know, we've been using HAML lately for our views.
Continue Reading » -
Rails 3.1 - Adding custom 404 and 500 error pages
As I said when announcing the Rambling Labs new site, we've been learning a lot of stuff while building it.
Continue Reading » -
Writing elegant HTML with HAML
Another cool thing that we learned while building the new Rambling Labs site was HAML.
Continue Reading »
It's a markup language that is based on the premise that 'Markup should be beautiful', in their own words. -
Generating your site menu with the 'simple-navigation' gem
One of the cool things I learned while building our new site was how to generate your site navigation menu without having to do the highlighting logic yourself.
Continue Reading » -
Rails 3.1 - will_paginate and AJAX
For a project that I'm currently working on, I have a couple of list views that needed pagination. So I went with the ol'
Continue Reading »will_paginate
gem (which I first saw years ago when I didn't even consider myself a developer) to take care of this. -
Rails 3.1 - Translating routes
Today, I was wondering if there would be a way to add translated routes automatically in Ruby on Rails. This is for a project I'm currently working on, whose users speak mostly spanish, so I want to make them happy with urls like "/contacto", "/quienes-somos" and "/trabajos/1" instead of "/contact", "/about-us", and "jobs/1".
Continue Reading » -
The nokogiri gem and the "libxslt is missing" error
I ran into this issue today. But this one's easy. Just run the following command and install the gem again:
Continue Reading » -
Using Postgresql with Rails 3.1: the 'pg' gem
As you may know I've been learning Ruby on Rails for the last few weeks. I'm also currently developing an application using the edge version of RefineryCMS (which is really a Rails 3.1 application), integrated with the almighty Heroku.
Continue Reading » -
Refinery CMS, rails 3.1.1 and the Operation not permitted error Errno::EPERM
The last couple of days, I've been trying to set up Refinery CMS for a project I'm working on. I've made a couple of Stack Overflow questions about which ruby on rails CMS supports multiple languages and custom types.
Continue Reading » -
Rails 3.1 "rails console" fails with "no such file to load -- readline"
Yesterday, I was trying to run the
Continue Reading »rails console
command on Ubuntu with ruby 1.9.2 and rails 3.1, without any success. I was getting ano such file to load -- readline
error. This kind of error was sort of familiar for me (I had the commonno such file to load -- zlib
and the not so commonno such file to load -- openssl
a while ago). So this was probably another package that I was missing. -
Rails 3.1 smtp gmail Errno::ECONNREFUSED Connection refused
I was trying out the rails 3.1 smtp mailer on the sandbox application I use to test all the new stuff and it was throwing this error:
Continue Reading » -
Rails 3.1 "rails server" error Could not find a JavaScript runtime
I upgraded to rails 3.1.0 and created a new 'test_app'.
Continue Reading »