Displaying 2 results from an estimated 2 matches for "artists_control".
2007 Jan 29
0
Rails trunk breakages
...I get a trace like this every time my controller generates a
route:
TypeError in ''Requesting /artists/1 using PUT should redirect to the artist''
can''t convert Fixnum into String
(eval):19:in `artist_url''
/Users/jchris/ruby/rails/grabbit/config/../app/controllers/artists_controller.rb:59:in
`update''
/Users/jchris/ruby/rails/grabbit/config/../app/controllers/artists_controller.rb:56:in
`update''
./spec/controllers/artists_controller_spec.rb:267:in `do_update''
./spec/controllers/artists_controller_spec.rb:287:
For now I''m just using Rails...
2009 Apr 11
6
Inserting data from 1 table to another by using find_by_sql
.../active_record/connection_adapters/abstract/query_cache.rb:74:in
`cache_sql''
vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:53:in
`select_all''
vendor/rails/activerecord/lib/active_record/base.rb:533:in `find_by_sql''
app/controllers/artists_controller.rb:8:in `index''
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA...