module - Loading Rubywork Facets unto a Rails Application -
i want use particular rubyworks facets unto helper:
require 'core/facets/string/snakecase' module generictablehelper def generic_table_theadlink(head_title, order_parameter = head_title.snake_case ) render(:partial => 'common_partials/generic_table/theadlink', :locals => {:head_title => head_title, :order_parameter => order_parameter}) end end
i error:
no such file load -- core/facets/string/snakecase
checked gemfile:
gem 'facets'
how load rubyworks facets unto helper? , other model/view/controller
i think core
leading astray.
require 'facets/string/snakecase`
Comments
Post a Comment