Filed under Rails

Not A Java Web Frameworks Survey: Just use Wicket!

‘Java Web Frameworks Survey’ was my first blog posted which was reposted at dzone. Sadly there never was a follow up of it. Although I planned one with: jZeno, SpringMVC, Seam, Vaadin (at that time: IT-Mill Toolkit), MyFaces, Stripes, Struts, ItsNat, IWebMvc Now, today just a short, subjective mini-follow-up, maybe someone is interested after all … Continue reading

Weird Rails Gem

After updating rails I got an error ala `require_frameworks’:RuntimeError: RubyGem version error: rack(1.0.0 not ~> 1.0.1) The solution is simple: $ sudo gem install rack –version 1.0.1 2. problem: libxml2 is missing.  try ‘port install libxml2′ or ‘yum install libxml2-devel’ Solution $ sudo apt-get install libxml2-dev I also needed libxslt-dev to install the ruhl gem … Continue reading

Simple Database Migration in Java

As I started with Rails development I discovered the very neat feature of database migrations. For me this was the main advantage of using Rails compared to a pure Java solution. In our Rails application this works without any problems: you can change the database schema as well as migrating the data itself via ruby. … Continue reading

Very Small Hints for ActionMailer

Hi, I lost some hours to figure out, what the problems were to make sending via smtp working. Here is a list you should check if something does not work: To enable raising exceptions during email sending make sure you add the following line into environment.rb: config.action_mailer.raise_delivery_errors = true Or put it into the test.rb … Continue reading

My stony way to find a ruby on the rails

Ruby is a great language. All can be expressed so short and readable. That’s one side. The other side is: you have to learn a lot of exceptions to common stuff that you already learned in another languages (In my case Java). So today I will explain things where it took me a lot of … Continue reading