plataformatec/simple_form — Issue #394: Missing "require" statements in some files
Author: PikachuEXE
Created: 2011-12-28 05:31:09+00:00
State: open

Environment:
Win7 64bit
Ruby 1.9.3
simple_form 1.5.2 (latest)

Problem:
I can install and run "rails generate simple_form:install" without problem

But when I try to run the app (or other actions)
"uninitialized constant SimpleForm" error occurs
Then I add require 'simple_form' to "\config\initializers\simple_form.rb"

Then "': uninitialized constant SimpleForm::Rails" error is shown
Finally I add require 'rails' to "C:\Ruby193\lib\ruby\gems\1.9.1\gems\simple_form-1.5.2\lib\simple_form.rb"
Then everything is fine again

Summary of edition:
1.add require 'simple_form' to "\config\initializers\simple_form.rb"
2.add require 'rails' to "C:\Ruby193\lib\ruby\gems\1.9.1\gems\simple_form-1.5.2\lib\simple_form.rb"