All Blog Posts

You have the documentation of gems posted on 28 Dec 2010 13:41

Start the gem documentation server (read more…)

Comments: 35, Rating: 0

Switching gem libraries using update-alternatives posted on 15 Dec 2010 13:13

Maintaining more than one rails and gems library at your development machine using update-alternatives is possible. But note that it's better done with RVM nowadays… You can still ready this article to learn more about update-alternatives. UPDATE: Using Hobo Edge On Rails 3 describes installing gems for both Rails 2 and Rails 3 in addition to installing Hobo on Rails3 using rvm. It also solves the problem here better. Go and do it: exit(0). (read more…)

Comments: 74, Rating: 0

You can debug Rails posted on 15 Dec 2010 02:03

Insert (read more…)

Comments: 68, Rating: 0

Finding the guilty posted on 14 Dec 2010 15:21

This is a story about debugging deeply into Rails using method hooks and dumping the stack. Suddenly I've found out that rake tasks were not using correct pluralizations. Out of curiosity added those lines to config/initialize/inflections.rb (read more…)

Comments: 27, Rating: 0

Hobo Page Structure posted on 10 Dec 2010 13:07

Hobo Page Structure. Quick reference to customize DRYML pages. Handy to include as comments in DRML pages. (read more…)

Comments: 34, Rating: 0

Full Stack Testing a HOBO Application posted on 03 Dec 2010 18:10

All testing strategies and dsl covered in one simple Hobo application. Hands on introduction the unit, functional and acceptance tests follow here. If you are only insterested in testing bits then jump directly to that section. (read more…)

Comments: 115, Rating: 0

FactoryGirl in Development Environment posted on 03 Dec 2010 01:15

You can use FactoryGirl to populate the databse during development. You need Factories for test. But I don't see any reason that you cannot use them in development environment also. (read more…)

Comments: 41, Rating: 0

Hobo Security Hole posted on 02 Dec 2010 22:46

This problem is fixed in 1.0-stable and 1.3 (read more…)

Comments: 53, Rating: 0

Deleting all records in rails posted on 23 Nov 2010 17:01

If you need to run your tests without transactional fixtures then you can ensure all records are deleted after the test. (read more…)

Comments: 52, Rating: 0

Steak Capybara on Rails 2.3 posted on 22 Nov 2010 17:31

Using Capybara with Steak is a very easy way acceptance testing on Rails. However, to run this nice test framework for your Rais 2.3.x applications you need to install rspec, steak and capybara as below. Rails 2.3.x uses rspec 1.3.x. (read more…)

Comments: 60, Rating: 0

Hobo Organizations - Your first hobo rails application posted on 22 Nov 2010 10:27

Quick steps to make a hobo application. Let's have a database of organizations with a name. (read more…)

Comments: 54, Rating: 0

Distributed multihead support with Linux and Xdmx posted on 18 Nov 2010 09:52

The article Distributed multihead support with Linux and Xdmx explains how to. I am working on a 4 monitor desktop at my work. (read more…)

Comments: 26, Rating: 0

Installing memcached-northscale on Ubuntu posted on 17 Nov 2010 15:12

UPDATE: memcached-northscale is no more used. Heroku uses Dalli.
exit(0) (read more…)

Comments: 64, Rating: 0

Remote Git Branch posted on 22 Sep 2010 13:03

The remote branch is automaticly created when you push it to the remote server. So when you feel for it, you can just do (read more…)

Comments: 57, Rating: 0

Environments Testing posted on 07 Sep 2010 11:57

A few words about testing related gems, caching and authenticated testing. Bootstrap advice for all your projects. (read more…)

Comments: 59, Rating: 0

Hiring Web Designers for a Rails Team posted on 17 Aug 2010 23:30

  • Strong CSS knowlege
  • Prototype and scriptabulous experience
  • Photoshop or GIMP experience
  • Demonstrated experience on html/js code snippets, e.g. including flicker picture slideshows, google channels on a page, publishing twitter…
  • Basic knowledge of Ruby on Rails (read more…)

Comments: 39, Rating: 0

Hiring Ruby on Rails Developers posted on 17 Aug 2010 22:43

  • We use Hobo, Webrat. You must have already used those seriously.
  • You can design DRYML tags
  • You can write integration tests
  • Your primary system at home is Ubuntu/Kubuntu. You are not booting with Windows.
  • You are not new to web business. You've worked on actual published web sites.
  • You have a serious contribution in GitHub or you are publishing a plugin.
  • It's a point if you have a rails blog.
  • CSS layout knowledge is required. You can't leave the job around saying the web designer was out of time for changes.
  • It's a bonus if you are into visual design and image editing - Photoshop or GIMP.
  • It's a big bonus if you are working with a 2-3 monitor system :) . Or you want to get lost surrounded by more monitors.
  • Javascript and DHTML does not scare you. And you are able to deliver unit tested javascript. (read more…)

Comments: 41, Rating: 0

Wee! posted on 08 Oct 2009 20:39

"Wee is a light-weight, very high-level and modern web-framework that makes Web engineering easy. It mainly inherits many ideas and features from Seaside, but was written from scratch without ever looking at the Seaside (or any other) sources. All code was developed from ideas and lots of discussions with Avi Bryant." (read more…)

Comments: 65, Rating: 0

Rails Integration Test Bugfix for Metal and Rack Applications posted on 11 Sep 2009 00:15

I am using Sinatra to write Metal for my Rails Applications and using Webrat to test all. But it does not matter, there is a bug that prevents the integration tests of all rack applications as well as Metals inside a Rails project. Including this little patch inside 'test_helper.rb' fixes the problem. (read more…)

Comments: 65, Rating: 0

Delegation Pattern in Ruby posted on 04 Aug 2009 22:50

Sometimes I need to pass an object to an API. But my object does not have the required methods…. And I don't want go and change the 3rd party class definition of my object. In Ruby the solution is easy. Another scenario is I have classes that do parts of the job required. And you need to combine them. There are many ways of implementing the delegation pattern in Ruby:

   class Whatever  
     delegate :first_name, :last_name, :to => :@user  
     def initialize(user)  
       @user = user  
(read more…)

Comments: 87, Rating: 0

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License