public
Description: Uber lightweight Merb blogging engine. Make sure you check out the feather-plugins repo as well!
Clone URL: git://github.com/mleung/feather.git
Click here to lend your support to: feather and make a donation at www.pledgie.com !
Fix usage of DataMapper::ValidationErrors#add [#16]
Alexander Flatter (author)
Thu Jun 26 11:03:06 -0700 2008
eldiablo (committer)
Fri Jul 18 13:06:09 -0700 2008
commit  e0f8a5ab5655ec6fac68305704496819dc882e24
tree    baf7a1626a5d651d6bfaf2c972011dd1d5aeb96a
parent  a2e98b422d0aed46c5af28bbb3de7244f09c5151
...
62
63
64
65
 
66
67
68
...
62
63
64
 
65
66
67
68
0
@@ -62,7 +62,7 @@ class Plugin
0
       rescue Exception => err
0
         # If we have an issue installing, lets destroy the plugin to rollback, and put an error on the object so it displays on the form
0
         self.destroy
0
- self.errors.add "Error installing plugin: #{err.message}"
0
+ self.errors.add :general, "Error installing plugin: #{err.message}"
0
       end
0
     else
0
       # If we do, destroy the plugin to rollback, and then the form will display the errors

Comments

    No one has commented yet.