Hi Sergio

As suggested, I have removed from application.html.erb, stop server and 
rails s

Still Request failed when I click Edit or Create New

Completed 500 Internal Server Error in 1631ms (ActiveRecord: 0.0ms)

ActionView::Template::Error (No route matches {:*action=>"browse"*, 
:controller=>"
rootcauses", :id=>"8"}):
    24:     <%= render_column(column, @record, renders_as, scope) %>
    25:   <% end %>
    26:   <% else -%>
    27:   <li class="form-element <%= 'required' if column.required? %> <%= 
colu
mn.form_ui %> <%= column_css_class %>">
    28:     <%= render_column(column, @record, renders_as, scope, 
!authorized) %
>
    29:   </li>
    30:   <% end -%>

actionpack (5.0.1) lib/action_dispatch/journey/formatter.rb:51:in `generate'

My source codes :- 

class RootcausesController < ApplicationController
record_select :per_page => 5, :search_on => 'rootcause'
  active_scaffold :"rootcause" do |conf|
  end
end

class TasksController < ApplicationController
  active_scaffold :"task" do |conf|
  conf.label = "Tasks"
    conf.columns = [:task,:date,:rootcause,:suggestion, :action,:completed, 
:version ]
    conf.columns[:rootcause].form_ui = :record_select
  end
end

Why am I getting the Browse error message ?

On Thursday, 23 February 2017 19:40:01 UTC+8, Sergio Cambra wrote:
>
> You are reading a really old web, recordselect is not in google code 
> anymore, 
> but README in github is not updated either 
>
> Do not change your layout, don't add record_select_includes, it doesn't 
> exist 
> anymore because current way is adding //= require record_select to asset 
> manifest. Anyway, you don't have to add anything else to your application 
> manifest, ActiveScaffold already includes record_select to assets through 
> record_select bridge when recordselect gem is installed. 
>
>
>

-- 
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 https://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.

Reply via email to