HI Sergio
What am I doing wrong ?
https://github.com/activescaffold/active_scaffold/wiki/API:-Column
config.columns[:eno].description = "Employee #"
TypeError in EmployeesController#index
no implicit conversion of Symbol into Integer
Extracted source (around line *#9*):
7
8
9
10
11
12
list.sorting = {:ename => 'ASC'}
config.columns[:eno].description = "Employee #"
#columns[:phone].label = "Phone #"
#columns[:phone].description = "(Format: ###-###-####)"
#no implicit conversion of Symbol into Integer
config.columns[:memo].options = { :autocomplete => "off", :size => 10, :class
=> 'text-input'}
Rails.root: C:/RubymineProjects/pms4mysql
Application Trace <http://localhost:3000/employees#> | Framework Trace
<http://localhost:3000/employees#> | Full Trace
<http://localhost:3000/employees#>
app/controllers/employees_controller.rb:9:in `[]'
<http://localhost:3000/employees#>
app/controllers/employees_controller.rb:9:in `block in
<class:EmployeesController>' <http://localhost:3000/employees#>
app/controllers/employees_controller.rb:2:in `<class:EmployeesController>'
<http://localhost:3000/employees#>
app/controllers/employees_controller.rb:1:in `<top (required)>'
<http://localhost:3000/employees#>
--
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.