Hi -- if I have two scaffolds generated for say Triggers and Events.. and I want an interface like GenerateEmails, which grabs Triggers and Events in a certain time range.. would it be appropriate to just create another controller and then use something like render partial inside GenerateEmails?
Hey, can anyone tell me how to accept nested parameters in Rails? params.require(:conv_job).permit(:Name, :StyleImage_id, :ContentImage_id, Options: optParams, :CreatedBy) <-- is not working (optParams is an array of strings for the sub-parameters) as I'd hoped
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'setContents'', ''4c53307449434a63496d35764948567a5a53427a64484a7059335263496a746' at line 1
eh more concerned about it working on server 2, getting the hell off of cloud9 :P
so I'm writing a ruby program with AR, and establish_connection is giving me this: /home/carbide/.gem/ruby/gems/activerecord-4.2.4/lib/active_record/connection_adapters/connection_specification.rb:177:in `rescue in spec': Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord). (Gem::LoadError)