On Aug 6, 2008, at 15:40, de Villamil Frédéric wrote:
first, sorry for not replying faster, I was in holliday and got
internet access only tonight. Trying to answer the pile of mails
that's waiting for me.
not a problem - I'm just returning to my pile of mails too, so sorry
for the delayed reply!
Can you use mysql / pgsql client and do
select * from contents;
What is the output ?
Contents is fully populated! Thank goodness. :)
The last ID in the table is 62, and the contents_id_seq is at 63.
That looks pretty consistent.
Can you also use
./script/console
Article.count(:all)
hmmm:
>> Article.count(:all)
=> 0
On Aug 6, 2008, at 11:07, Matijs van Zuijlen wrote:
Did you do a rake db:migrate while trying to get 5.1 to work?
yes. however I dropped that database and am trying to work with the
backup that was made before upgrading.
I dropped my old db and removed the
install directory, created new of each, installed using the
gem/installer, stop mongrel, and get a clean restore of the
database (at
least no complaints) and I can see all of the data in both the
yaml file
Which yaml file are you talking about here?
Oh, the yaml file that the backup makes.
Did you point the db/database.yml to the right database?
yeah, that part seems fine. I'm getting my authentication, settings,
file uploads, etc.
I'm also getting a stacktrace, I now see. I'll end this message with
the top of it - I can post more of it if it would be helpful:
Rendering /opt/typo/example.com-blog/public/500.html (500 Internal
Server Error)
Processing CommentsController#index (for 192.16.1.100 at 2008-08-12
01:23:38) [GET]
Parameters: {"format"=>"rss", "action"=>"index",
"controller"=>"comments"}
ArgumentError (wrong number of arguments (2 for 1)):
/vendor/rails/activesupport/lib/active_support/option_merger.rb:
14:in `find'
/vendor/rails/activesupport/lib/active_support/option_merger.rb:
14:in `send!'
/vendor/rails/activesupport/lib/active_support/option_merger.rb:
14:in `method_missing'
/app/controllers/comments_controller.rb:40:in `get_feedback'
/vendor/rails/activesupport/lib/active_support/core_ext/object/
misc.rb:48:in `with_options'
/vendor/rails/activerecord/lib/active_record/associations/
association_proxy.rb:125:in `send'
/vendor/rails/activerecord/lib/active_record/associations/
association_proxy.rb:125:in `method_missing'
/vendor/rails/activerecord/lib/active_record/associations/
association_collection.rb:162:in `method_missing'
/app/controllers/comments_controller.rb:39:in `get_feedback'
/app/controllers/feedback_controller.rb:22:in `index'
/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:
131:in `call'
/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:
131:in `custom'
/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:
156:in `call'
/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:
156:in `respond'
/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:
150:in `each'
/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:
150:in `respond'
/vendor/rails/actionpack/lib/action_controller/mime_responds.rb:
107:in `respond_to'
/app/controllers/feedback_controller.rb:12:in `index'
/vendor/rails/actionpack/lib/action_controller/base.rb:1158:in
`send'
/vendor/rails/actionpack/lib/action_controller/base.rb:1158:in
`perform_action_without_filters'
-Bill
-----
Bill McGonigle, Owner Work: 603.448.4440
BFC Computing, LLC Home: 603.448.1668
[EMAIL PROTECTED] Cell: 603.252.2606
http://www.bfccomputing.com/ Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list