Hello,
One more issue, now with active_scaffold_refresh_link.
I have this piece of code in my application:controller:
as.model.reflect_on_all_associations(:belongs_to).map(&:name).each do |column|
as.columns[column].options[:refresh_link] = true # true => fails, false =>
works
end
and my tests fail when I try to render create form:
2) Fremantle::ResourcesController GET renders create as HTML
Failure/Error: get "/fremantle/#{table_name}/new.#{format}"
ActionView::Template::Error:
undefined method `[]' for nil:NilClass
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/helpers/form_column_helpers.rb:279:in
`active_scaffold_refresh_link'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/helpers/form_column_helpers.rb:269:in
`active_scaffold_input_singular_association'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/helpers/form_column_helpers.rb:352:in
`active_scaffold_input_select'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/helpers/form_column_helpers.rb:23:in
`active_scaffold_render_input'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/helpers/form_column_helpers.rb:10:in
`active_scaffold_input_for'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/helpers/form_column_helpers.rb:175:in
`form_attribute'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/helpers/form_column_helpers.rb:162:in
`render_column'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/helpers/form_column_helpers.rb:75:in
`active_scaffold_render_subform_column'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/app/views/active_scaffold_overrides/_form_association_record.html.erb:66:in
`block (3 levels) in
__home_korobkov__bundler_ruby_______bundler_gems_active_scaffold___b__b_ebed__app_views_active_scaffold_overrides__form_association_record_html_erb__3260431298389993643_65529400'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/capture_helper.rb:38:in
`block in capture'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/capture_helper.rb:200:in
`with_output_buffer'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/capture_helper.rb:38:in
`capture'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/tag_helper.rb:97:in
`content_tag'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/app/views/active_scaffold_overrides/_form_association_record.html.erb:65:in
`block (2 levels) in
__home_korobkov__bundler_ruby_______bundler_gems_active_scaffold___b__b_ebed__app_views_active_scaffold_overrides__form_association_record_html_erb__3260431298389993643_65529400'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/data_structures/action_columns.rb:86:in
`block in each'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/data_structures/action_columns.rb:74:in
`each'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/data_structures/action_columns.rb:74:in
`each'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/app/views/active_scaffold_overrides/_form_association_record.html.erb:45:in
`block in
__home_korobkov__bundler_ruby_______bundler_gems_active_scaffold___b__b_ebed__app_views_active_scaffold_overrides__form_association_record_html_erb__3260431298389993643_65529400'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/capture_helper.rb:38:in
`block in capture'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/capture_helper.rb:200:in
`with_output_buffer'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/capture_helper.rb:38:in
`capture'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/tag_helper.rb:97:in
`content_tag'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/app/views/active_scaffold_overrides/_form_association_record.html.erb:44:in
`__home_korobkov__bundler_ruby_______bundler_gems_active_scaffold___b__b_ebed__app_views_active_scaffold_overrides__form_association_record_html_erb__3260431298389993643_65529400'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:145:in
`block in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:339:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:143:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:306:in
`render_partial'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:279:in
`block in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/abstract_renderer.rb:38:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/abstract_renderer.rb:38:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:278:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/renderer.rb:47:in
`render_partial'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/renderer.rb:21:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/rendering_helper.rb:32:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/extensions/action_view_rendering.rb:122:in
`render_with_active_scaffold'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/app/views/active_scaffold_overrides/_horizontal_subform.html.erb:8:in
`__home_korobkov__bundler_ruby_______bundler_gems_active_scaffold___b__b_ebed__app_views_active_scaffold_overrides__horizontal_subform_html_erb___2780177301752299773_42543380'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:145:in
`block in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:339:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:143:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:306:in
`render_partial'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:279:in
`block in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/abstract_renderer.rb:38:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/abstract_renderer.rb:38:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:278:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/renderer.rb:47:in
`render_partial'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/renderer.rb:21:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/rendering_helper.rb:32:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/extensions/action_view_rendering.rb:122:in
`render_with_active_scaffold'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/app/views/active_scaffold_overrides/_form_association.html.erb:17:in
`__home_korobkov__bundler_ruby_______bundler_gems_active_scaffold___b__b_ebed__app_views_active_scaffold_overrides__form_association_html_erb___3625458737674227547_44271860'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:145:in
`block in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:339:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:143:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:306:in
`render_partial'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:279:in
`block in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/abstract_renderer.rb:38:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/abstract_renderer.rb:38:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:278:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/renderer.rb:47:in
`render_partial'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/renderer.rb:21:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/rendering_helper.rb:32:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/extensions/action_view_rendering.rb:122:in
`render_with_active_scaffold'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/helpers/form_column_helpers.rb:164:in
`render_column'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/app/views/active_scaffold_overrides/_form.html.erb:21:in
`block (2 levels) in
__home_korobkov__bundler_ruby_______bundler_gems_active_scaffold___b__b_ebed__app_views_active_scaffold_overrides__form_html_erb___791282649273145129_67180380'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/capture_helper.rb:38:in
`block in capture'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/capture_helper.rb:200:in
`with_output_buffer'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/capture_helper.rb:38:in
`capture'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/tag_helper.rb:97:in
`content_tag'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/app/views/active_scaffold_overrides/_form.html.erb:20:in
`block in
__home_korobkov__bundler_ruby_______bundler_gems_active_scaffold___b__b_ebed__app_views_active_scaffold_overrides__form_html_erb___791282649273145129_67180380'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/data_structures/action_columns.rb:86:in
`block in each'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/data_structures/action_columns.rb:74:in
`each'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/data_structures/action_columns.rb:74:in
`each'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/app/views/active_scaffold_overrides/_form.html.erb:7:in
`__home_korobkov__bundler_ruby_______bundler_gems_active_scaffold___b__b_ebed__app_views_active_scaffold_overrides__form_html_erb___791282649273145129_67180380'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:145:in
`block in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:339:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:143:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:306:in
`render_partial'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:279:in
`block in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/abstract_renderer.rb:38:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/abstract_renderer.rb:38:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:278:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/renderer.rb:47:in
`render_partial'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/renderer.rb:21:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/rendering_helper.rb:32:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/extensions/action_view_rendering.rb:122:in
`render_with_active_scaffold'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/app/views/active_scaffold_overrides/_base_form.html.erb:43:in
`__home_korobkov__bundler_ruby_______bundler_gems_active_scaffold___b__b_ebed__app_views_active_scaffold_overrides__base_form_html_erb___3191709304156296595_68246200'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:145:in
`block in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:339:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:143:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:306:in
`render_partial'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:279:in
`block in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/abstract_renderer.rb:38:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/abstract_renderer.rb:38:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:278:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/renderer.rb:47:in
`render_partial'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/renderer.rb:21:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/rendering_helper.rb:32:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/extensions/action_view_rendering.rb:122:in
`render_with_active_scaffold'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/app/views/active_scaffold_overrides/_create_form.html.erb:3:in
`__home_korobkov__bundler_ruby_______bundler_gems_active_scaffold___b__b_ebed__app_views_active_scaffold_overrides__create_form_html_erb___972661801470087942_62905620'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:145:in
`block in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:339:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:143:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:306:in
`render_partial'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:279:in
`block in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/abstract_renderer.rb:38:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/abstract_renderer.rb:38:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/partial_renderer.rb:278:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/renderer.rb:47:in
`render_partial'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/renderer.rb:21:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/helpers/rendering_helper.rb:32:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/extensions/action_view_rendering.rb:122:in
`render_with_active_scaffold'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/app/views/active_scaffold_overrides/create.html.erb:3:in
`__home_korobkov__bundler_ruby_______bundler_gems_active_scaffold___b__b_ebed__app_views_active_scaffold_overrides_create_html_erb___52334795415801939_63026760'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:145:in
`block in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:339:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/template.rb:143:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/template_renderer.rb:55:in
`block (2 levels) in render_template'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/abstract_renderer.rb:38:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/abstract_renderer.rb:38:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/template_renderer.rb:54:in
`block in render_template'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/template_renderer.rb:62:in
`render_with_layout'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/template_renderer.rb:53:in
`render_template'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/template_renderer.rb:17:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/renderer.rb:42:in
`render_template'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/renderer/renderer.rb:23:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/rendering.rb:99:in
`_render_template'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/streaming.rb:217:in
`_render_template'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/rendering.rb:82:in
`render_to_body'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/rendering.rb:32:in
`render_to_body'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/renderers.rb:32:in
`render_to_body'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/abstract_controller/rendering.rb:25:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/rendering.rb:16:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/instrumentation.rb:41:in
`block (2 levels) in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/core_ext/benchmark.rb:12:in
`block in ms'
# /usr/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/core_ext/benchmark.rb:12:in
`ms'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/instrumentation.rb:41:in
`block in render'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/instrumentation.rb:84:in
`cleanup_view_runtime'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/railties/controller_runtime.rb:25:in
`cleanup_view_runtime'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/instrumentation.rb:40:in
`render'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/extensions/action_controller_rendering.rb:14:in
`render_with_active_scaffold'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/actions/create.rb:24:in
`new_respond_to_html'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/actions/core.rb:250:in
`block (3 levels) in respond_to_action'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/mime_responds.rb:258:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/mime_responds.rb:258:in
`respond_to'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/actions/core.rb:246:in
`respond_to_action'
#
/home/korobkov/.bundler/ruby/2.1.0/bundler/gems/active_scaffold-63b72b0ebed0/lib/active_scaffold/actions/create.rb:9:in
`new'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/implicit_render.rb:4:in
`send_action'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/abstract_controller/base.rb:189:in
`process_action'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/rendering.rb:10:in
`process_action'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/abstract_controller/callbacks.rb:20:in
`block in process_action'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:113:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:113:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`block in halting'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`block in halting_and_conditional'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`block in halting_and_conditional'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`block in halting_and_conditional'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`block in halting_and_conditional'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`block in halting_and_conditional'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`block in halting'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`block in halting'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`block in halting'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`block in halting_and_conditional'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`block in halting_and_conditional'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`block in halting_and_conditional'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`block in halting_and_conditional'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`block in halting_and_conditional'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:229:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:229:in
`block in halting'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:229:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:229:in
`block in halting'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:149:in
`block in halting_and_conditional'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:215:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:215:in
`block in halting_and_conditional'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:215:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:215:in
`block in halting_and_conditional'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:229:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:229:in
`block in halting'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`block in halting'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`block in halting'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`block in halting'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:166:in
`block in halting'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:86:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:86:in
`run_callbacks'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/abstract_controller/callbacks.rb:19:in
`process_action'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/rescue.rb:29:in
`process_action'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/instrumentation.rb:31:in
`block in process_action'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`block in instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications/instrumenter.rb:20:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/notifications.rb:159:in
`instrument'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/instrumentation.rb:30:in
`process_action'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/params_wrapper.rb:250:in
`process_action'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/railties/controller_runtime.rb:18:in
`process_action'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/abstract_controller/base.rb:136:in
`process'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionview-4.1.1/lib/action_view/rendering.rb:30:in
`process'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal.rb:195:in
`dispatch'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal/rack_delegation.rb:13:in
`dispatch'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_controller/metal.rb:231:in
`block in action'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/routing/route_set.rb:80:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/routing/route_set.rb:80:in
`dispatch'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/routing/route_set.rb:48:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/journey/router.rb:71:in
`block in call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/journey/router.rb:59:in
`each'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/journey/router.rb:59:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/routing/route_set.rb:676:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/railties-4.1.1/lib/rails/engine.rb:514:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/railties-4.1.1/lib/rails/railtie.rb:194:in
`public_send'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/railties-4.1.1/lib/rails/railtie.rb:194:in
`method_missing'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/journey/router.rb:71:in
`block in call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/journey/router.rb:59:in
`each'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/journey/router.rb:59:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/routing/route_set.rb:676:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:186:in
`call!'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/omniauth-1.2.1/lib/omniauth/strategy.rb:164:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/omniauth-1.2.1/lib/omniauth/builder.rb:59:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/params_parser.rb:27:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/flash.rb:254:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in
`context'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/cookies.rb:560:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/query_cache.rb:36:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activerecord-4.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/callbacks.rb:29:in
`block in call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/callbacks.rb:82:in
`run_callbacks'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/callbacks.rb:27:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/remote_ip.rb:76:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/railties-4.1.1/lib/rails/rack/logger.rb:38:in
`call_app'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/railties-4.1.1/lib/rails/rack/logger.rb:20:in
`block in call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/tagged_logging.rb:68:in
`block in tagged'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/tagged_logging.rb:26:in
`tagged'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/tagged_logging.rb:68:in
`tagged'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/railties-4.1.1/lib/rails/rack/logger.rb:20:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/request_id.rb:21:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/static.rb:64:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/railties-4.1.1/lib/rails/engine.rb:514:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/railties-4.1.1/lib/rails/application.rb:144:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/mock_session.rb:30:in
`request'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/test.rb:230:in
`process_request'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rack-test-0.6.2/lib/rack/test.rb:123:in
`request'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/testing/integration.rb:309:in
`process'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/testing/integration.rb:32:in
`get'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/testing/integration.rb:343:in
`block (2 levels) in <module:Runner>'
#
/home/korobkov/work/devel/gems/fremantle/spec/requests/requests_spec.rb:19:in
`block (5 levels) in <top (required)>'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example.rb:124:in
`instance_exec'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example.rb:124:in
`block in run'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example.rb:185:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example.rb:185:in
`block (2 levels) in <class:Procsy>'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-rails-3.0.0.beta2/lib/rspec/rails/adapters.rb:67:in
`block (2 levels) in <module:MinitestLifecycleAdapter>'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example.rb:267:in
`instance_exec'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example.rb:267:in
`instance_exec'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/hooks.rb:420:in
`block (2 levels) in run'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example.rb:185:in
`call'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example.rb:185:in
`block (2 levels) in <class:Procsy>'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/hooks.rb:422:in
`run'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/hooks.rb:476:in
`run'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example.rb:276:in
`with_around_each_hooks'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example.rb:121:in
`run'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example_group.rb:468:in
`block in run_examples'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example_group.rb:464:in
`map'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example_group.rb:464:in
`run_examples'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example_group.rb:431:in
`run'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example_group.rb:432:in
`block in run'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example_group.rb:432:in
`map'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/example_group.rb:432:in
`run'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/command_line.rb:27:in
`block (2 levels) in run'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/command_line.rb:27:in
`map'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/command_line.rb:27:in
`block in run'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/reporter.rb:47:in
`report'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/command_line.rb:24:in
`run'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/runner.rb:100:in
`run'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/lib/rspec/core/runner.rb:31:in
`invoke'
#
/home/korobkov/.bundler/ruby/2.1.0/gems/rspec-core-3.0.0.beta2/exe/rspec:4:in
`<top (required)>'
# bin/rspec:16:in `load'
# bin/rspec:16:in `<main>'
Could you, please, look at
active_scaffold-63b72b0ebed0/lib/active_scaffold/helpers/form_column_helpers.rb:279:in
`active_scaffold_refresh_link'
I'm not sure, whether it's my bug, or from ActiveScaffold (while stacktrace
show no line from my code, may be it's me who uses AS wrongly, but why?)
I have similar pieces of code, but for other associations:
as.model.reflect_on_all_associations(:has_one).map(&:name).each do |column|
as.columns[column].options[:refresh_link] = true
end
as.model.reflect_on_all_associations(:has_many).map(&:name).each do |column|
as.columns[column].options[:refresh_link] = true
end
and these work well! But thise one with :belongs_to - doesn't…
What else should I provide to be useful in debuging?
thanks in advance,
--
Andrey Korobkov
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.