Giter Club home page Giter Club logo

Comments (3)

plentz avatar plentz commented on August 22, 2024

@gbonline thanks for the report. Could you provide an isolated test case with the relations that are generating the problem?

from lol_dba.

gbonline avatar gbonline commented on August 22, 2024

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----

Da: [email protected]

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.

plentz avatar plentz commented on August 22, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.