Tag-arkiv: rails

My favorite Apache setup for a Rails application

You think 1 site equals 1 Apache Virtual Host? Think again, and read on to figure out why not. For every Rails application that I deploy into production mode, I usually creates 3 Virtual Host entries in Apache. To illustrate, … Læs resten

Bookmark and Share
Udgivet i ruby rails | Tagget , , | Skriv en kommentar

How to make Rails routing case-insensitive

Update 2011-03-10: Brian Marquis pointed out, that I’ve missed showing a good way to actually load the .rb file containing the middleware. This has now been added to the article. Update 2010-11-06: Rails 3 has changed its routing mechanism. One … Læs resten

Bookmark and Share
Udgivet i ruby rails | Tagget , , , , | 10 kommentarer

Simple Amazon S3 file synchronize for Rails application (without the need of Capistrano)

So you have a nice Rails-app running and you want all your static assets to reside on Amazon S3? There are other good solutions on the web, but most of what I’ve seen requires that you also use Capistrano for … Læs resten

Bookmark and Share
Udgivet i ruby rails | Tagget , , , , | Skriv en kommentar

Test test og atter test

Jeg er nu endelig kommet på den rette vej med TDD. Jeg må jo indrømme, at TDD for mig indtil nu har været “kode først, tests bagefter”, men jeg så forleden lige pludselig “lyset”. Det har også kun taget 2¾ … Læs resten

Bookmark and Share
Udgivet i Blandet | Tagget , , , , | Skriv en kommentar

Thinking about searching in your app?

I’ll cut to the chase. There is really only one good search engine for Rails applications at the moment of this writing. It’s called ThinkingSphinx, it’s fast, it’s reliable, and it has the easiest Rails implementation, that I have seen … Læs resten

Bookmark and Share
Udgivet i ruby rails | Tagget , , | Skriv en kommentar

Hooray – now full-time on Rails

I have decided to sell my company and get a job at a company developing solely in Ruby on Rails. This is really the best decision, that I’ve done for myself AND my family for a very long time. The … Læs resten

Bookmark and Share
Udgivet i ruby rails | Tagget , | Skriv en kommentar

2 dage til RailsConf

Og jeg glæder mig som et lille barn!

Bookmark and Share
Udgivet i ruby rails | Tagget , , | Skriv en kommentar

Tabs be damned

- at least that seems to be a clear oppinion of the Rails community. Okay so I lied to you in the last post. I’ve been working on my first real Rails project for quite some time now, so instead … Læs resten

Bookmark and Share
Udgivet i rhtml tabs spaces, ruby rails | Tagget , | Skriv en kommentar

Why I must use Rails but cannot abandon PHP

I think I’m an ordinary guy. At least in programming terms, I’m pretty ordinary. Over the last year, a lot of people have been talking about, how they would like to switch permanently to Ruby on Rails, but they can … Læs resten

Bookmark and Share
Udgivet i ruby rails | Tagget , | Skriv en kommentar