Advice on using Ruby, RVM, Passenger, Rails, Bundler, … in development (via Jérémy Lecour)

This article is the english version of “Conseils pour utiliser Ruby, RVM, Passenger, Rails, Bundler, … en développement”, originaly written in French. If you have a better translation, I’d be happy to use it (full or parts) and credit you. Introduction : Why this advice The dev team I’m working in is composed of 3 people who use Ruby. Besides me, who’s is spending the most part of my time on Ruby and became “the one who knows” about this stuff, m … Read More

via Jérémy Lecour

Advertisements

Rails Startup App – Basecamp (with Rails 2.3)

A lot of GitHub projects are dedicated to creating a Rails Start-up application that should have the most used functionalities in any web application, like:

  • user authentication
  • profile management
  • user roles
  • users management
  • integration with other authentication systems (OpenID, FacebookConnect, etc)

Some of the most well known are listed below:

Continue reading

Design Patterns: Ruby and Ruby on Rails

I am creating a new page on my blog, regarding Ruby and Ruby on Rails Design Patterns links.

Regarding Ruby Design patterns, there are (in my opinion) 2 major resources: The “Ruby Design Patterns” book of Russ Olsen and the Ruby Best Practices Blog. The Design page is about the rest of them :).

A first link: a slideshow regarding common design patterns (Observer, Decorator, Factory, Command) implemented both in Java and Ruby. Enjoy.

SEAM: Entity Inheritance

I will make a comparison on how the SEAM (Hibernate) framework and Rails framework handles model inheritance.

This first article is about SEAM.

Continue reading

Products in multiple categories. Find similar products.

This is a draft

– product model

– product can be in  more than one categories, on multiple levels of the tree (i can attach the product anywhere i want); no restriction on this what so ever.

– categories are organized as a nested set (logical organized as a tree)

Problem: need to find similar products based on this taxonomy; sorting from ‘most similar’ to ‘least similar’
Continue reading

Major sites developped in Rails

http://rails100.pbwiki.com/Compete+Rankings Enjoy 🙂

Of course, as expected, the Rails stars are twitter, yellow pages, scribd. I only wonder why doesn’t LinkedIn appear on their top 😕

Searchlogic plugin: ActiveRecord search on Steroids

Searchlogic is everything you would ever wish from AR search and you could not find.

The brilliant ideea is that the search itself is seen as an object, so you can add/remove conditions very easy.

search = User.new_search
search.conditions.hour_of_created_at = 5

Continue reading