Comments (7)
same error here with Rails 3.2 + Ruby 1.9.3
any ideas anyone?
could you fix it @c4ftabrez ?
from annotate_models.
I should have written down the solution at that time itself! I believe the issue was related to the installation of the gem. Can you confirm if you have the gem in your Gemfile for the project whose models you are trying to annotate? Add it there and run a bundle install before trying the annotate command.
If that does not solve it I can check if I had to do anything else to make it work.
from annotate_models.
Having the same issue w/ same setup as @chalofa (rails 3.2/ruby 1.9.3).
Also made sure the gem is in the Gemfile & run bundle install.
cc /@c4ftabrez
from annotate_models.
Ok, I think this will solve the issue. Specify annotate with the version in Gemfile and then run bundle install again.
gem 'annotate', '~>2.4.1.beta'
I see a comment in my source code history indicating that I made this change. So, I think that should solve it.
from annotate_models.
Did it solve the issue?
@wjr @chalofa
from annotate_models.
I can confirm using 2.4.1.beta1 fix the issue, thanks!
from annotate_models.
Thanks!
from annotate_models.
Related Issues (20)
- Next release? HOT 2
- Active Admin not working when running migrations
- Is there any way to ignore attributes?
- Reformat Column comments HOT 1
- Allowing --frozen to show the diff in the CI
- Sometimes, Not Detecting Schema Changes After Migration
- exclude_tests does not exclude serializer tests
- Typo in with_comment_column
- Cannot add indexes or foreign keys
- Support to collapse or fold annotate comments in VSCode HOT 1
- Fix code scanning alert - Polynomial regular expression used on uncontrolled data
- Rails 7, annotate --routes failed HOT 6
- Can't execute `annotate` or `bundle exec annotate` commands HOT 2
- Unable to annotate a single model HOT 1
- Make `with_comment_column` work with `Annotate.set_defaults` HOT 7
- Configuration for custom spec directory
- Does not find factories with default suffix example
- annotate_models doesn't auto-annotate on down / rollback migrations in multi-DB environments
- Throws error when using composite primary keys (supported natively by rails 7.1) HOT 1
- Output columns in database schema order, not A-Z order. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from annotate_models.