I discovered strange rail behavior. Please give me some tips!
For example, I have a code like this:
def new raise end
I am running rails server in development mode. Click Refresh in browser and see
RuntimeError in AuthenticationController # new
Good. I will comment on the โraiseโ line as follows:
def
Hit the update in the browser, but again I see this error as shown above. Despite the fact that in the browser I see the code with the comments "raise".
I assume controllers and assistants, etc. reload, but the rails return cached results.
configurations / environment / development.rb:
Rails.application.configure do
How do I start the server:
=> Booting Puma => Rails 4.2.1.rc3 application starting in development on http://0.0.0.0:3000 => Run `rails server -h` for more startup options => Ctrl-C to shutdown server Puma 2.11.1 starting... * Min threads: 0, max threads: 16 * Environment: development * Listening on tcp://0.0.0.0:3000
Any suggestions please.
UPDATE 1. This problem does not exist on Ubuntu 14.04, but exists on FreeBSD 9.1.
I created a simple application and first tested it in FreeBSD (same problem), in Ubuntu (no problem).
Can you help me with tips on how to deal with this problem on FreeBSD 9.1?
Kesha Antonov
source share