0
+I'm wondering if you have insight into this or if I should go ask somewhere else.
0
+I installed 2 plug-in today,
0
+first fixture_replacement plugin
0
+and been using it successfully
0
+Then I installed validates_email_format_of plugin
0
+http://code.dunae.ca/validates_email_format_of
0
+and added this to my User model
0
+ validates_email_format_of :email
0
+then script/server wont start
0
+When I comment out this line, it's fine
0
+=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
0
+=> Rails application starting on http://0.0.0.0:3000
0
+=> Call with -d to detach
0
+=> Ctrl-C to shutdown server
0
+** Starting Mongrel listening at 0.0.0.0:3000
0
+** Starting Rails with development environment...
0
+/Users/jonathan/rails/reviewramp/vendor/plugins/fixture_replacement/init.rb:9:in `evaluate': Error in FixtureReplacement Plugin: undefined method `validates_email_format_of' for #<Class:0x241cc68> (RuntimeError)
0
+ from ./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:107:in `evaluate'
0
+ from /Users/jonathan/rails/reviewramp/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
0
+ from ./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:107:in `evaluate'
0
+ from ./script/../config/../vendor/rails/railties/lib/rails/plugin/loader.rb:24:in `load'
0
+ from /Users/jonathan/rails/reviewramp/vendor/rails/railties/lib/initializer.rb:183:in `load_plugins'
0
+ from ./script/../config/../vendor/rails/railties/lib/rails/plugin/locator.rb:16:in `each'
0
+ from ./script/../config/../vendor/rails/railties/lib/rails/plugin/locator.rb:16:in `each'
0
+ from /Users/jonathan/rails/reviewramp/vendor/rails/railties/lib/initializer.rb:182:in `load_plugins'
0
+ from /Users/jonathan/rails/reviewramp/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require'
0
+ from /Users/jonathan/rails/reviewramp/vendor/rails/railties/lib/commands/server.rb:39
0
+ from script/server:3:in `require'
0
+I havent tried it in a different project (without fixture_replacement) but looks like yours is getting the blame... :)
Comments
No one has commented yet.