问题
After I register 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"):
回答1:
Maybe you need to change this line in config/environments/production.rb
config.serve_static_assets = false #-> true
来源:https://stackoverflow.com/questions/7002370/paperclip-routing-error