sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
ActiveSupport::Dependencies::ModuleConstMissing#guess_for_anonymous
Dependencies assumes the name of the module reflects the nesting (unless it can be proven that is not the case), and the path to the file that defines the constant. Anonymous modules cannot follow these conventions and we assume therefore the user wants to refer to a top-level constant.
Edit
git clone [email protected]:sonic-pi-net/sonic-pi.git
cd sonic-pi
open app/server/ruby/vendor/activesupport/lib/active_support/dependencies.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ActiveSupport--Dependencies--ModuleConstMissing-guess_for_anonymous-for-pr
# Commit to gitgit add app/server/ruby/vendor/activesupport/lib/active_support/dependencies.rbgit commit -m "better docs for ActiveSupport::Dependencies::ModuleConstMissing#guess_for_anonymous"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ActiveSupport--Dependencies--ModuleConstMissing-guess_for_anonymous-for-pr
hub pull-request
# Celebrate!