We have a Sinatra app mounted on Rails. If we raise an error in the Sinatra app, it doesn’t show anywhere. Can we attach the Rails logger somehow?
Code Climate Blog: Rails Insecure Defaults
Rubymine 5.4 EAP: Rails 4, JRuby Nailgun support, and a feature requested by pivotallabs!
Check out the release announcement here: http://blog.jetbrains.com/ruby/2013/03/rubymine-ichii-early-access-is-open/
This release also includes a small feature requested by the CloudPlanner team here at Pivotal Labs! When you create a new localization property from a view, the dialog will now default your localization file to the last one used: http://youtrack.jetbrains.com/issue/RUBY-13368
Thanks to the two Pivots who up voted our feature requests (Ken Mayer and Justin Richard)! And if you never got around to up voting our team’s RubyMine feature requests, please do so now! It only takes a sec:
.ruby-version (& .ruby-gemset)
The community appears to be converging on .ruby-version as a standard way to convey a project’s Ruby version. This as opposed to .rvmrc or .rbenv
If you use RVM you can also use .ruby-gemset to specify a gemset.
See https://gist.github.com/fnichol/1912050 for more info.
- Sprockets fail in CI, not locally?
- capybara-webkit has non-standard awesomeness
- driver.render to get an image of the viewport. inorite?
- RVM now supports custom SSL versions
Our project needs OpenSSL > v1.0.0 because we’re trying to sign something with a DSA key. We asked on github and fifteen minutes later mpapis had pushed a change to make it configurable. That’s some of the best open source service out there.
- Chrome Heap inspector is your friend
- Backbone Events do NOT get cleaned up
If you declare any events in the events property of a initialize, they prevent your instance from being deleted/GC’d. Use an explicit destroy function that calls this.undelegateEvents()