Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRobert Ellefson
5,672 PointsError message for c.time_entries
At 20:48 he runs:
c.time_entries
to which I get the following string in response:
irb(main):026:0> c.time_entries
ActiveRecord::StatementInvalid: Mysql2::Error: Table 'biller_development.account_entries' doesn't exist: SHOW FULL FIELDS FROM account_entries
from /var/lib/gems/2.2.0/gems/mysql2-0.4.3/lib/mysql2/client.rb:107:in _query'
from /var/lib/gems/2.2.0/gems/mysql2-0.4.3/lib/mysql2/client.rb:107:in
block in query'
from /var/lib/gems/2.2.0/gems/mysql2-0.4.3/lib/mysql2/client.rb:106:in handle_interrupt'
from /var/lib/gems/2.2.0/gems/mysql2-0.4.3/lib/mysql2/client.rb:106:in
query'
from /var/lib/gems/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in block in execute'
from /var/lib/gems/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract_adapter.rb:472:in
block in log'
from /var/lib/gems/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/notifications/instrumenter.rb:20:in instrument'
from /var/lib/gems/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract_adapter.rb:466:in
log'
from /var/lib/gems/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:305:in execute'
from /var/lib/gems/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/mysql2_adapter.rb:231:in
execute'
from /var/lib/gems/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:312:in execute_and_free'
from /var/lib/gems/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:457:in
columns'
from /var/lib/gems/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/schema_cache.rb:43:in columns'
from /var/lib/gems/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/attributes.rb:93:in
columns'
from /var/lib/gems/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/attributes.rb:98:in columns_hash'
from /var/lib/gems/2.2.0/gems/activerecord-4.2.5.1/lib/active_record/inheritance.rb:73:in
descends_from_active_record?'
... 14 levels...
from /var/lib/gems/2.2.0/gems/railties-4.2.5.1/lib/rails/commands/console.rb:9:in start'
from /var/lib/gems/2.2.0/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:68:in
console'
from /var/lib/gems/2.2.0/gems/railties-4.2.5.1/lib/rails/commands/commands_tasks.rb:39:in run_command!'
from /var/lib/gems/2.2.0/gems/railties-4.2.5.1/lib/rails/commands.rb:17:in
<top (required)>'
from /var/lib/gems/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in require'
from /var/lib/gems/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in
block in require'
from /var/lib/gems/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in load_dependency'
from /var/lib/gems/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in
require'
from /home/robert/biller/bin/rails:9:in <top (required)>'
from /var/lib/gems/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:268:in
load'
from /var/lib/gems/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:268:in block in load'
from /var/lib/gems/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in
load_dependency'
from /var/lib/gems/2.2.0/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:268:in load'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in
require'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require'
from -e:1:in
<main>'irb(main):027:0>
None of it makes any sense to me...