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

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -