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

Example code not working in Rails 4 #161

Closed
expilo opened this issue Sep 6, 2013 · 3 comments
Closed

Example code not working in Rails 4 #161

expilo opened this issue Sep 6, 2013 · 3 comments

Comments

@expilo
Copy link

expilo commented Sep 6, 2013

I was trying both Formtastic version and Rails forms version and I am getting the following error

undefined method `check_box_checked?' for ActionView::Helpers::InstanceTag:Class

@nathanvda
Copy link
Owner

See formtastic/formtastic#915

Are you using the correct version of formtastic?

@expilo
Copy link
Author

expilo commented Sep 7, 2013

I used the most recent gem. Maybe I should use the github version? Anyway,
Simple Form version works fine for me. One more thing. It took me a moment
to realize that views templates are in slim. Maybe you might say it's slim
and add necessary line for Gemfile since slim isn't default in Rails 4.

Best

Piotr

2013/9/6 Nathan Van der Auwera notifications@github.com

See formtastic/formtastic#915formtastic/formtastic#915

Are you using the correct version of formtastic?


Reply to this email directly or view it on GitHubhttps://github.com//issues/161#issuecomment-23968379
.

http://okle.pl

@nathanvda
Copy link
Owner

I use simple form myself most of the times. But the issue i pointed you to is exactly the same error, and it was merged. Just saying: imho it is a formtastic problem.

I use haml in the examples (in the documentation), not slim. Secondly i point to complete projects where you can see it in action ( in one of them i do use slim). I was assuming that both erb and haml are familiar enough, and imho haml-style is very readable.

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

2 participants