RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: burtondav
Did you ever get a solution?
How do you add a :selected to the grouped_collection_select ???
I have this working on my local iMac. When I upload to Heroku, the app gets this log when starting up "/app/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/relation/finder_methods.rb:310:in `find_with_ids': Couldn't find Tenant without an ID (ActiveRecord::RecordNotFound)"
Do I need to do anything special to run this on Heroku?
Do you have this in your class? table-striped
I suggest you look at your Rails console to see if there is a message showing an error. It's likely a data read error.
The following puts each record into a dataTable cell instead of a row:
User.current.employee.workgroups.map do |workgroup|
workgroup.workorders.wonotclosed.map do |workorder|
Any way to fix?
NOOB - Getting error
* executing "sudo -p 'sudo password: ' bash -l -c 'cp /home/ubuntu/.ssh/authorized_keys /root/.ssh/'"
.. ** Failed to connect to 188.8.131.52, retrying
* executing `rubber:_allow_root_ssh'
I believe my credentials are correct.
If I look at the EC2 console it says the private ip is 10.111.63.18
NOOB - when I'm creating the EC2 instance, Amazon wants me to select a AMI (stack). Which one do you select?