There's a project I'm currently working on, which is right now hosted on shared servers. I worked for a little while before on this project, but just to add some tiny features and fix some bugs, so I didn't have the need back then to have a deployment process all set up.
Continue Reading »Tagged 'instructions'
-
Deploying on shared servers with git
-
Set up ssh public/private key for no password prompts
It's been a while since my last post. I've had a busy couple of weeks. But here I am again :).
Continue Reading » -
Rails - Custom 404 and 500 pages and the exception_notification gem
As I explained before on the Rails 3.1 - Adding custom 404 and 500 error pages post, sometimes you might want to have a custom way to handle your not found and internal server errors. In that case we wanted to show the error with a custom template.
Continue Reading » -
Git: Removing sensitive data and rewriting history
One thing that tends to happen with Git, is being careless with what you add to your repository.
Continue Reading »
I've seen this happen since I began using Git, a couple years ago, and it stays happening over and over again, for various reasons. -
Migrating your blog posts to Markdown with Upmark and Nokogiri
As I said in my last post, for our new site, we changed our blog engine from WordPress to the Postmarkdown gem. At the end of that post, I mentioned that we had to migrate the old posts from WordPress to Markdown.
Continue Reading » -
Writing your blog posts in Markdown with Postmarkdown
Another thing we added to our new site, uploaded back at the end of December, was the ability to write our blog posts in Markdown, which is a text-to-html tool that allows you to write formatted text without actually having to write all the corresponding HTML. Markdown is used for the project wiki pages on GitHub, and can also be used for the project's readme file.
Continue Reading » -
Rails 3.1: Treating your '.swf' files as assets
This week, I've been deploying one of my current Ruby on Rails projects to WebFaction.
Continue Reading »
For what we found, it's definitely one of the best options out there for shared hosting with Python and Ruby. -
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 » -
CoffeeScript: The '=>' operator
As you may know, I've been playing around with CoffeeScript for a couple of months now.
Continue Reading » -
Using RVM within a cron job
Long time no post! I've been really busy these days with some projects. Yet, here I am again, so here it goes.
Continue Reading » -
Extending the jQuery Rambling Slider
One of the core features added in version 0.2.0 of the jQuery Rambling Slider is the ability to customize the transitions between images, between flash elements and between an image and a flash element.
Continue Reading » -
IE and the flash "wmode" madness
One of the reasons that didn't allow me to release version 0.1.3 of the jQuery Rambilng Slider earlier this week was a really ugly bug with IE, flash and transitions from and image to a flash element and viceversa.
Continue Reading » -
Stripping down Rails 3.1: Using only the database migrations
The current project I'm working on is not using Ruby on Rails, but I still want to use ActiveRecord Migrations for the database changes.
Continue Reading » -
Adding custom method calls to the jQuery Rambling Slider
The jQuery Rambling Slider v0.1.2 was released a couple of days ago. One of the features added was the ability to start and stop the slider like this:
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. -
Unit testing the jQuery Rambling Slider - Part 2 - The DOM, jQuery and node.js
In order to continue to add tests to the jQuery Rambling Slider, I needed to test something against the DOM. Problem is, you don't count with the DOM when you're running the Jasmine tests from console. So what should I do?
Continue Reading » -
Unit testing the jQuery Rambling Slider - CoffeeScript, Jasmine and node.js
As you may know, I have been working lately on the jQuery Rambling Slider. One of my personal milestones with this project is to write as many unit tests as possible, so I began my research.
Continue Reading » -
Installing the capybara-webkit gem
To install the capybara-webkit gem, you need to have the libqt4-dev installed. So run:
Continue Reading » -
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 »