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

uninitialized constant TableHelper::BlankSlate in Rails 3 Beta3 #6

Open
obrie opened this issue Aug 6, 2011 · 3 comments
Open

uninitialized constant TableHelper::BlankSlate in Rails 3 Beta3 #6

obrie opened this issue Aug 6, 2011 · 3 comments
Assignees

Comments

@obrie
Copy link
Member

obrie commented Aug 6, 2011

closer opened this issue

Hello,

I see error message "uninitialized constant TableHelper::BlankSlate" in Rails 3 Beta3 environment. In Rails 3 the "builder" plug-in was moved from "activesupport" to separated gem therefore need to include it to "row.rb" file.

@@@
require ’table_helper/cell’

Workaround for Rails 3

if Rails::VERSION::MAJOR >= 3
require ’builder’
end

module TableHelper
...
@@@

original LH ticket

This ticket has 0 attachment(s).

@obrie
Copy link
Member Author

obrie commented Aug 6, 2011

sumeetpareek commented

I have been working with rails for 2 weeks now.. and have managed to do quite some interesting work.. thanks for your plugin.. I did run into this issue too.. and the workaround helped..

I am sure though that I never installed the builder gem.. the require builder statement still worked.. wondering if the gem gets installed when rails is..

@ghost ghost assigned obrie Aug 6, 2011
@ghost
Copy link

ghost commented Sep 9, 2011

I had the same problem in Rails 3.1. requiring builder didn't fix it though. BlankSlate seems to need its own gem now.

https://github.com/masover/blankslate

@marcandre
Copy link

I addressed this in my pull request #8

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