After I regi开发者_开发技巧ster a user, the request goes through and says that the registration was successful, but instead of the resized image appearing, the file name is the only thing that appears. Here is my error message:
Started GET "/system/photos/1/small/Picture%202.png?1312915420" for 127.0.0.1 at Tue Aug 09 16:14:01 -0400 2011
ActionController::RoutingError (No route matches "/system/photos/1/small/Picture%202.png"):
Maybe you need to change this line in config/environments/production.rb
config.serve_static_assets = false #-> true
精彩评论