All posts tagged with 'Rails'

Why opinionated software sucks… Not!

20-Dec-07

The best software has a vision. The best software takes sides. Make Opinionated Software There’s been a lot of discussion around David Heinemeier Hanssons principle of “opinionated software”. Some people say that “to David, a piece of opinionated software is written in such a way that makes it easy to do things one way and […]

Read the complete article »

Disable Ruby On Rails Sessions

20-Nov-07

Just a reminder to myself, but maybe it’s usefull for others as well. Some days ago i stumpled upon the fact, that one can turn off session support in controllers in rails: HowtoChangeSessionOptions (see Disabling Sessions) or HowtoPerActionSessionOptions. I found it particularly useful and convenient for my Feed controller, which is dedicated entirely to feed […]

Read the complete article »

Rails’ respond_to method

06-Aug-07

Ruby On Rails has a neat little feature called “respond_to”: class WeblogController < ActionController::Base def index @posts = Post.find :all respond_to do |format| format.html format.xml { render :xml => @posts.to_xml } format.rss { render :action => "feed.rxml" } end end endclass WeblogController < ActionController::Base def index @posts = Post.find :all respond_to do |format| format.html format.xml […]

Read the complete article »

Rails and Grails revisited

25-Jun-07

I’ve never thought that my little little post would made such an impact. While writing that post i was frustrated explaining the Spring configuration to my colleaques again, i was frustrated over the url mappings and so the post was a little harsh. I don’t think that Hibernate is inferior to Active Record, regarding Spring […]

Read the complete article »

Projektdokumentationen und Anwendungsdesign

19-May-07

In den letzten Tagen habe ich einige ganz interessante, deutsche Projektdokumentationen gefunden. Zum einen die zur Zeiterfassung Mite gehörende Diplomarbeit, die hier zum Download angeboten wird. Zum anderen einen Aufsatz von Thomas Bachem, einem der Macher von sevenload.de Ich finde beide Dokumentationen hochgradig interessant zu lesen, nichts desto habe ich einige Anmerkungen und Gedanken dazu: […]

Read the complete article »