search for: company_1

Displaying 2 results from an estimated 2 matches for "company_1".

Did you mean: company1
2006 Jun 16
0
Getting an error on options_groups_from_collection_for_select
...ption.new("Dr. Dave", "Dave Smith") dr << AssocOption.new("Dr. Dan", "Daniel Jones") dr << AssocOption.new("Dr. Mike", "Michael Smith-Jones") co = AssocType.new("COMPANIES") co << Assoc.Option.new("Company_1", "Company_1") co << Assoc.Option.new("Company_2", "Company_2") ASSOCIATION_OPTIONS = [ none, dr, co ] end My View looks like this: <select name="user[associationl]" id="user_association"> <%= option_groups_from_collecti...
2014 May 19
0
Can ActiveRecord::Base.connection.schema_search_path be set per process?
...y save/read models from the wrong schema, right? Is this solution going to fail even if Unicorn is one thread per worker(process)? If this is not the right way, what else can I do? Is it possible for ActiveRecord to set namespaces for tables( Specify schemas in query) like: Select * from 'company_1'.clients ? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To...