Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refinery:form don't work with mysql #2872

Closed
aribeiro opened this issue Jan 29, 2015 · 1 comment
Closed

refinery:form don't work with mysql #2872

aribeiro opened this issue Jan 29, 2015 · 1 comment

Comments

@aribeiro
Copy link

Hi, I've been try create a simple contact form for my project, but after I follow all the steps, every time I try go to the contact form, the server go into a loop, and I got a error in the browser.
I tested it using sqlite3, and it works, than I try to only replace the database, run the migrations, and the problem start.

It is a new project, but must to run in mysql, this is the steps I did:

rails new project -m http://refinerycms.com/t/edge
cd project
rails g refinery:form Contacts name email message:text
bundle install
rails generate refinery:contacts
rake db:migrate
rake db:seed

Of course I follow I the steps to create the user, was able to access the admin interface, etc. The only problem is the form, I also add the strong_parameters for the form when I was using the sqlite3, so only option is a Database issue.

Thanks

@aribeiro aribeiro changed the title refinery:from don't work with mysql refinery:form don't work with mysql Feb 2, 2015
@CJYate
Copy link
Contributor

CJYate commented Mar 16, 2015

@aribeiro I have pushed a PR for the Forms that fixes many issues.
#2922
It's pending a merge (and possible rework) but maybe you can test it out.

@parndt parndt closed this as completed Jun 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants