ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Rolling with Ruby on Rails, Part 2
Subject:   I'm stuck on the create method
Date:   2006-10-20 13:09:49
From:   asmasif
Response to: I'm stuck on the create method

Actually one "end" is missing after the if-else block. That is why the "Create" method is not working. Put an extra "end" after the if-else and before the def-end.