-
Notifications
You must be signed in to change notification settings - Fork 63
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
Rails 3: rails g scaffold doesn't work #9
Conversation
I second this. Same behavior with Ruby 1.9.2 |
+1 |
Same here in Rails 1.8.7 (REE) |
Same here with Ruby 1.9.2 |
Please pull the changes in https://github.com/edave/enumerated_attribute to fix this |
Nsm's fix works. However, that whole ARGV test is... well... Let's just say, this bug popped up for me only because I was running rspec and one of my test files has the word "scaffold" in its name. |
edave's changes worked for me with rails 3.1rc4 gem "edave-enumerated_attribute", :git => "https://github.com/edave/enumerated_attribute.git" |
Anyone like to file a pull request? I'd take the commits from @edave but they change the gem to |
trollixx's patch fixes this for me on Rails 3.1. Use this in your Gemfile:
|
I replaced and ran bundle update Is there another step when you use git repos as gems? |
Compatibility with Generator in Rails 3
In latest Rails 3 (release candidate) when 'rails g scaffold' is called I get the following error: