Comments (3)
@gbonline thanks for the report. Could you provide an isolated test case with the relations that are generating the problem?
from lol_dba.
Hi plentz, I've made the test app, and how i can send it to you?
Sincerely i've done a mistake: i forgot that the habtm association was named and i used the other parameters to set it fully functional.
the name is serieopt and it use the vehicle_optionals table as you can see on my vehicle modelbut in my issue message i told you that serieopt was a boolean field!!
the association in the vehicle model:
has_and_belongs_to_many :serieopt, join_table: :vehicle_optionals, class: "Optional"
to try it run server and go to the localhost:3000/vehicles to show how it work, if you want add some opts go to optionals route
your lol_dba try to create the index with the name of the association but on the table there is "table-name-id" fields
I hope this can help
Giorgio
PS Sorry for the mistake
----Messaggio originale----
Data: 30/09/2013 16.14
A: "plentz/lol_dba"[email protected]
Cc: "gbonline"[email protected]
Ogg: Re: [lol_dba] Some indexes on column that doesn't exists (#26)
@gbonline thanks for the report. Could you provide an isolated test case with the relations that are generating the problem?
—
Reply to this email directly or view it on GitHub.
from lol_dba.
@gbonline you can put it in github itself, just create a public repository with the code.
no problem at all, we all made mistakes :)
btw, I'm closing this issue because it's about the same problem related in #22, so we can continue the discussion there, ok? :)
from lol_dba.
Related Issues (20)
- Intercept Arel calls to suggest indexes
- Return non-zero in case of missing indexes found HOT 2
- lol_dba/sql_generator (LoadError) HOT 2
- Invalid index recommendation for Doorkeeper Gem HOT 4
- Do not duplicate polymorphic indexes HOT 1
- Improved polymorphic and STI index suggestions HOT 3
- Bug with lol_dba cli option parsing HOT 3
- Bundle install error for Rails 6.0.1 HOT 3
- Changelog?
- v2.2.0 Unnecessary suggestions for indexes that already exist as leftmost term in another index. HOT 4
- Add support for Rails 7 HOT 1
- Error on remove_column and add_foreign_key with sqlite3 adapter
- Mysql2::Error: Table 'myapp_development.action_text_rich_texts' doesn't exist HOT 1
- Output incorrectly reporting missing indexes (sort of) HOT 1
- Mailchimp grouping error HOT 3
- uninitialized constant LolDba::VERSION
- undefined method `options' for nil:NilClass HOT 2
- Unresolved specs warning and show nothing in Rails 5.1 HOT 1
- db:migrate_sql is broken for rails versions > 5 HOT 1
- Error is printed while executing db:find_indexes HOT 2
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 lol_dba.