Displaying 3 results from an estimated 3 matches for "_rails_apps".
Did you mean:
rails_apps
2010 Feb 23
2
Problem: The command "rake db:create:all" crashes
...Migration
def self.up
create_table :suppliers do |t|
t.string :nickname
t.string :qbname
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 r...
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 Nov 21
15
Switching the version of Rails that an app uses
Hi All,
I’ve got a few versions or Rails installed and I''d like to run an App
I’m developing with various versions of Rails. I heard of two ways to
switch the version of Rails that an app uses:
1. Use GitHub as described by http://kylecordes.com/2008/04/30/git-windows-go/
. But that requires using Bash in a Command Window and more steps
than I want to go through.
2. Alter