couldn't find file 'my_formtastic_changes' #902

Closed
ewamarciniak opened this Issue Nov 21, 2012 · 2 comments

2 participants

@ewamarciniak

Downloaded the gem and followed the instructions. Unfortunately I am getting the above error message. I noticed that when I run:
rails generate formtastic:install

only those 2 files were created:
config/initializers/formtastic.rb
lib/templates/erb/scaffold/_form.html.erb

It looks like my_fomtastic_changes file was not created in this go. I tried creating the file manually in the initializes directory although i don't know if that is the proper thing to do. This did not solve the problem. I am using Ruby 1.9.3 and Rails 3.2.8. I would appreciate if you could have a look into this.

@ewamarciniak ewamarciniak reopened this Nov 21, 2012
@ewamarciniak

I created the file manually in stylesheets as my_formtastic_changes.css and now the error message is appearing no loger, however my form does not show in the view. Any idea why that can be?

@emmanueldd

Sorry for the late reply,
In fact, "my_formtastic_changes.css" is the file in which you should write your modifications to the formtastic css. So, yes you used the right way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment