Henry:
There is an "ignore_tables" configuration statement for this. In your
environment.rb file, place a line similar to the following:
- Generators::Hobo::Migration::Migrator.ignore_tables = ["table1",
"table2"]
There is also an "ignore_models" statement that you can use if you need to
have a model ignored. I have had to use both statements to accommodate some
of the gems that I use in my application.
Ed
On Thursday, May 26, 2016 at 8:16:13 AM UTC-6, Henry Baragar wrote:
>
> Hello,
>
> I have a suite of applications that need to have SSO. I have implemented
> it by creating a "security" application that maintains the users table, to
> which all the other applications have read_only access, which I have set
> stripping down the users model (in the other applications) and adding the
> following line above the "hobo_users_model" line:
>
> establish_connection "security_#{Rails.env}".to_sym
>
> This works well except that "hobo g migration" always try to create/drop a
> users table (in the other applications). What do I need to do to stop hobo
> from trying to create a users table?
>
> Henry
>
> --
>
>
>
> *Henry Baragar*
>
> Director, Software Development
>
> *CSE* | *Canadian Securities Exchange*
>
> *D *(647) 729-8325
>
>
>
> 220 Bay Street, 9th Floor | Toronto | ON | Canada | M5J 2W4
>
> www.thecse.com | @CSE_News <https://twitter.com/CSE_News>
>
>
>
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.