Skip to content

Instantly share code, notes, and snippets.

@glebm
Created December 8, 2012 16:37
Show Gist options
  • Save glebm/4240917 to your computer and use it in GitHub Desktop.
Save glebm/4240917 to your computer and use it in GitHub Desktop.
ActionView::Template::Error (not opened for writing)
125642:ActionView::Template::Error (not opened for writing):
125643- 3: .sign_inner.location-selector
125644- 4: .selects
125645- 5: - selected = localiser.application_location.world? ? nil : localiser.application_location
125646- 6: - cache "#{localiser.locale.cache_key}/#{selected.try(:cache_key) || "w"}/main_loc_selector", expires_in: 24.hours do
125647- 7: = country_select selected: selected.try(:country).try(:id), class: 'combobox'
125648- 8: - if selected.try(:country).try(:has_children?)
125649- 9: = region_and_city_select selected, :class => "combobox"
125650- org/jruby/ext/stringio/RubyStringIO.java:992:in `write'
125651- org/jruby/RubyIO.java:2376:in `write'
125652- org/jruby/RubyIO.java:2331:in `puts'
125653- org/jruby/RubyKernel.java:561:in `puts'
125654- /Users/glebm/justlanded/config/initializers/debug_log.rb:10:in `debug_log'
125655- /Users/glebm/justlanded/lib/cache_extension/dancer.rb:7:in `write_fragment'
125656- /Users/glebm/.rvm/gems/jruby-head@jl/gems/actionpack-3.2.9/lib/action_view/helpers/cache_helper.rb:59:in `fragment_for'
125657- /Users/glebm/.rvm/gems/jruby-head@jl/gems/haml-3.1.7/lib/haml/helpers/action_view_mods.rb:200:in `fragment_for_with_haml'
125658- /Users/glebm/.rvm/gems/jruby-head@jl/gems/actionpack-3.2.9/lib/action_view/helpers/cache_helper.rb:36:in `cache'
125659- /Users/glebm/justlanded/app/views/common/_location_selector.html.haml:6:in `_app_views_common__location_selector_html_haml___2104879851_32138'
125660- /Users/glebm/justlanded/app/views/common/_location_selector.html.haml:1:in `_app_views_common__location_selector_html_haml___2104879851_32138'
125661- org/jruby/RubyBasicObject.java:1671:in `__send__'
125662- org/jruby/RubyKernel.java:2094:in `send'
125663- /Users/glebm/.rvm/gems/jruby-head@jl/gems/actionpack-3.2.9/lib/action_view/template.rb:145:in `render'
125664- /Users/glebm/.rvm/gems/jruby-head@jl/gems/activesupport-3.2.9/lib/active_support/notifications.rb:125:in `instrument'
125665- /Users/glebm/.rvm/gems/jruby-head@jl/gems/actionpack-3.2.9/lib/action_view/template.rb:143:in `render'
125666- /Users/glebm/.rvm/gems/jruby-head@jl/gems/actionpack-3.2.9/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
125667- /Users/glebm/.rvm/gems/jruby-head@jl/gems/actionpack-3.2.9/lib/action_view/renderer/partial_renderer.rb:238:in `render'
125668- /Users/glebm/.rvm/gems/jruby-head@jl/gems/actionpack-3.2.9/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
125669- /Users/glebm/.rvm/gems/jruby-head@jl/gems/activesupport-3.2.9/lib/active_support/notifications.rb:123:in `instrument'
125670- /Users/glebm/.rvm/gems/jruby-head@jl/gems/activesupport-3.2.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
125671- /Users/glebm/.rvm/gems/jruby-head@jl/gems/activesupport-3.2.9/lib/active_support/notifications/instrumenter.rb:19:in `instrument'
125672- /Users/glebm/.rvm/gems/jruby-head@jl/gems/activesupport-3.2.9/lib/active_support/notifications.rb:123:in `instrument'
125673- /Users/glebm/.rvm/gems/jruby-head@jl/gems/actionpack-3.2.9/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
125674- /Users/glebm/.rvm/gems/jruby-head@jl/gems/actionpack-3.2.9/lib/action_view/renderer/partial_renderer.rb:237:in `render'
125675- /Users/glebm/.rvm/gems/jruby-head@jl/gems/newrelic_rpm-3.5.3.25/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:172:in `render_with_newrelic'
125676- /Users/glebm/.rvm/gems/jruby-head@jl/gems/newrelic_rpm-3.5.3.25/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
125677- /Users/glebm/.rvm/gems/jruby-head@jl/gems/newrelic_rpm-3.5.3.25/lib/new_relic/agent/method_tracer.rb:241:in `trace_execution_scoped'
125678- /Users/glebm/.rvm/gems/jruby-head@jl/gems/newrelic_rpm-3.5.3.25/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:171:in `render_with_newrelic'
125679- /Users/glebm/.rvm/gems/jruby-head@jl/gems/actionpack-3.2.9/lib/action_view/renderer/renderer.rb:41:in `render_partial'
125680- /Users/glebm/.rvm/gems/jruby-head@jl/gems/actionpack-3.2.9/lib/action_view/helpers/rendering_helper.rb:27:in `render'
125681- /Users/glebm/.rvm/gems/jruby-head@jl/gems/haml-3.1.7/lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml'
125682- /Users/glebm/.rvm/gems/jruby-head@jl/gems/haml-3.1.7/lib/haml/helpers.rb:90:in `non_haml'
125683- /Users/glebm/.rvm/gems/jruby-head@jl/gems/haml-3.1.7/lib/haml/helpers/action_view_mods.rb:11:in `render_with_haml'
125684- /Users/glebm/justlanded/lib/action_view/render_pages.rb:22:in `render'
125685- /Users/glebm/justlanded/app/views/common/select_location.html.haml:7:in `_app_views_common_select_location_html_haml__792750971_31962'
125686- /Users/glebm/justlanded/app/views/common/select_location.html.haml:1:in `_app_views_common_select_location_html_haml__792750971_31962'
125687- org/jruby/RubyBasicObject.java:1671:in `__send__'
125688- org/jruby/RubyKernel.java:2094:in `send'
125689- /Users/glebm/.rvm/gems/jruby-head@jl/gems/actionpack-3.2.9/lib/action_view/template.rb:145:in `render'
125690- /Users/glebm/.rvm/gems/jruby-head@jl/gems/activesupport-3.2.9/lib/active_support/notifications.rb:125:in `instrument'
125691- /Users/glebm/.rvm/gems/jruby-head@jl/gems/actionpack-3.2.9/lib/action_view/template.rb:143:in `render'
125692- /Users/glebm/.rvm/gems/jruby-head@jl/gems/actionpack-3.2.9/lib/action_view/renderer/template_renderer.rb:47:in `render_template'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment