Hello.

Thanks for a wonder service, I was given access just yesterday so I am
still experimenting with everything.

When I create a new rails app I generally add this to my
environment.rb file:

config.active_record.primary_key_prefix_type
= :table_name_with_underscore

Which changes the default primary key from id to <tablename>_id.  With
this option set you have to modify your migration files to explicitly
set the primary key as <tablename>_id, but I tend to like this style
because it makes the primary keys more explicit.  When I tried this in
my rails app I am creating in Heroku I noticed that it disabled the
ability to view the table schema and data for my tables.

Does this active record option break the Data Tab functionality of
Heroku?

Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to