Comments (5)
Oracle has some sort of silly limit. 32, IIRC. Anybody using rails/hobo on Oracle pretty much has to specify all of their index names manually.
from hobo.
Thanks, Bryan.
I guess what's ultimately missing is the ability to override or
intervene/suggest a Hobo-generated index name for the migration generator.
T
On Mon, Jan 27, 2014 at 12:23 PM, Bryan Larsen [email protected]:
Oracle has some sort of silly limit. 32, IIRC. Anybody using rails/hobo on
Oracle pretty much has to specify all of their index names manually.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/65#issuecomment-33398328
.
from hobo.
Whoops, yes, I forgot you can do this:
belongs_to :other_related_instrument, :class_name => "Instrument",
:index => "my_not_so_long_index_name"
That'll teach me to use really verbose class names.
T
On Mon, Jan 27, 2014 at 1:14 PM, Tim Griffin [email protected] wrote:
Thanks, Bryan.
I guess what's ultimately missing is the ability to override or
intervene/suggest a Hobo-generated index name for the migration generator.T
On Mon, Jan 27, 2014 at 12:23 PM, Bryan Larsen [email protected]:
Oracle has some sort of silly limit. 32, IIRC. Anybody using rails/hobo
on Oracle pretty much has to specify all of their index names manually.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/65#issuecomment-33398328
.
from hobo.
Mmm, I didn't know that about Oracle, and I had not renamed any index :P. What do you think if we close this issue and leave Hobo as it is?
from hobo.
Yes, I admit, it's an obscure scenario unless you like using long,
description model names like I do AND you happen to want to switch
databases. It was an easy fix, and one I could have avoided had I not
relied on Hobo's automatic index naming, and used the :index => parameter
on my belongs_to statements.
T
On Tue, Jan 28, 2014 at 12:46 AM, Ignacio Huerta
[email protected]:
Mmm, I didn't know that about Oracle, and I had not renamed any index :P.
What do you think if we close this issue and leave Hobo as it is?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/65#issuecomment-33452881
.
from hobo.
Related Issues (20)
- disabling #show action disables trashcan link in <bootstrap-table-actions/>
- Rails version HOT 2
- Use Jquery's "on" for the datepickers created live HOT 1
- Regression: NoMethodError - undefined method `validate' for "male":String HOT 7
- Status? HOT 1
- 'hobo new' using Hobo 2.2.4 fails on bundle install (under Ruby 2.2.2) HOT 4
- Incompatibility with current version of sprocket rails (3.0.0.) HOT 10
- Error: protected method `render' called for ... HOT 10
- NoMethodError - undefined method `map!' for #<ActiveRecord::Associations::CollectionProxy []> HOT 3
- ArgumentError, wrong number of arguments (5 for 4) HOT 7
- Compatibility to Rspec HOT 2
- Migration issue with latest Rails version HOT 2
- hobo_controller makes it unnecessarily hard to implement JSON APIs
- STI subclasses with lifecycle creators do not work HOT 2
- Would be nice if migrations had <Model>.reset_column_information statements
- Phantom card appears in the aside column when acting user not admin
- hot-input throws "no route" exception when relative_url_root is used
- Hobo do not integrate with web-console gem (missing method). HOT 1
- The heightStyle accordion option is missing from all the accordion tags
- How to get a copy of Hobo Rapid tag definitions 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 hobo.