Comments (2)
config.ru
actually always uses rack-unreloader, but it only sets up the reloading in development mode (reload: dev
). In models.rb
, if the Unloader
isn't already defined, one is defined but it is set to not actually do any reloading (reload: false
). This is done so the same API can be used if the models.rb
file is required directly (i.e. when not running the app using config.ru
).
Hopefully that explains things, but if not, please let me know.
from roda-sequel-stack.
understood. thanks!
from roda-sequel-stack.
Related Issues (14)
- Doesn't work as described. HOT 3
- Gemfile requires Roda 3.13, but it is not released HOT 2
- `zsh` does not work with `rake setup[MyApp]` HOT 3
- can't modify frozen #<Class:Object> (FrozenError) HOT 1
- the `logger` is initialized only in development mode HOT 4
- PreparedStatementsSafe HOT 3
- roda for API HOT 2
- rake dev_up and rake dev_irb still throwing errors. HOT 2
- `ENV SESSION SECRET` not being assigned proper value HOT 2
- Replace Unreloader with Zeitwerk HOT 20
- Can't find executable rake HOT 2
- Move DB object freeze call after the app declaration HOT 8
- Sequel::SQL::Function is deprecated HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roda-sequel-stack.