Displaying 2 results from an estimated 2 matches for "sqlite_sequ".
Did you mean:
sqlite_setup
2012 Sep 18
2
NoMethodError with rake db:migrate
..._config (first_time)
** Execute db:load_config
** Execute db:migrate
rake aborted!
NoMethodError: undefined method `to_a'' for
#<SQLite3::Statement:0x9d6a2dc>: SELECT name
FROM sqlite_master
WHERE type = ''table'' AND NOT name = ''sqlite_sequence''
AND name = "schema_migrations"
/var/lib/gems/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/sqlite_adapter.rb:248:in
`block in exec_query''
/var/lib/gems/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract_adapter.rb:28...
2010 Nov 04
9
Delete action is not working and redirects to edit action
Hello,
i have a strange problem here. I have made a teacher controller using
scaffold. All actions work fine but the delete does not. When i click
the delete link, it redirects me to the edit of this teacher. I have
restarted the server and i have tried in firefox (i use chrome) but
problem still remains. Here is the code from my view.
<%= link_to(image_tag("/images/