Why you put :"employee"? i use only :employee with quotations...

El 03-02-2017 a las 1:16, Chee Chong Hwa escribió:
Fresh project also crash

TypeError in EmployeesController#index

no implicit conversion of Symbol into Integer

Extracted source (around line #4):
2
3
4
5
6
7
              
active_scaffold :"employee" do |conf|
config.columns = [:eno, :ename, :dept, :date_join, :position, :superior,:active, :memo]
config.columns[:ename].description = "Enter the users first and last name"
end
end

Rails.root: C:/RubymineProjects/test-as


On Friday, 3 February 2017 11:51:44 UTC+8, Chee Chong Hwa wrote:
HI Sergio
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




-- 

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.




--
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