Displaying 5 results from an estimated 5 matches for "26_rc2".
2010 Mar 12
7
"We're sorry, but something went wrong." from RoR app
...The development log is presented below. Suggestions are extremely
welcome.
Thanks in Advance,
Richard
Development.log
============
/!\ FAILSAFE /!\ Fri Mar 12 13:42:10 -0500 2010
Status: 500 Internal Server Error
Unknown database ''rts_development''
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
activerecord-2.3.5/lib/active_record/connection_adapters/
mysql_adapter.rb:589:in `real_connect''
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
activerecord-2.3.5/lib/active_record/connection_adapters/
mysql_adapter.rb:589:in `connect''...
2010 Jul 16
31
Added associations but don't see generated methods
Hi,
I''ve got a Rails app working that includes two two classes, etc.:
Expense & Vendor. I eventually learned that the mental concept I had
of their relationship should be express in Rails as:
class Expense < ActiveRecord::Base; belongs_to :vendor; end
class Vendor < ActiveRecord::Base; has_many :expenses; end
2008 Aug 22
2
How to find/open Spec::Expectations and Spec::Matchers
...tions.html,
referencing the subject items.
I''m running ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32] over
WinXP-Pro/SP2.
I believe I installed RSpec with a Ruby gem. At least, I think that''s
confirmed because I have a lot of stuff in the directory K:\_Utilities
\ruby186-26_rc2\ruby\lib\ruby\gems\1.8\doc\rspec-1.1.4
I didn’t find any Expectations or Matchers in the rspec-1.1.4
directory. So, how can I find and open these files for reading?
Thanks in Advance,
Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscri...
2010 Feb 23
2
Problem: The command "rake db:create:all" crashes
...t.timestamps
end
end
def self.down
drop_table :suppliers
end
end
Then I ran "rake db:create:all". The Command Window display for this
is:
K:\_Projects\Ruby\_Rails_Apps\_EIMS\RTS>rake db:create:all
(in K:/_Projects/Ruby/_Rails_Apps/_EIMS/RTS)
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
activesupport-2.3.5/lib/active_support/core_ext/module/
introspection.rb:73: [BUG] Segmentation fault
ruby 1.8.6 (2007-09-24) [i386-mswin32]
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application''s support...
2008 Nov 21
15
Switching the version of Rails that an app uses
...VERSION:
2.0.2
=============
That looks promising!!
D. = = = = = = = = = = = = = = = = = = = = = = = =
I pointed Firefox 3.0.4 at http://localhost:3000/payrolls and got a
Routing Error (because I hadn’t fleshed out the app yet) and got
Mongrel output that included the line:
K:/_Utilities/ruby186-26_rc2/ruby/lib/ruby/gems/1.8/gems/
actionpack-2.2.0/lib/action_controller/routing/
recognition_optimisation.rb:66:in [snip]
indicating that Rails 2.2.0 was being used, not 2.0.2 that I specified
nor 2.2.1 that Rails –v reported.
--~--~---------~--~----~------------~-------~--~----~
You received this me...