Displaying 5 results from an estimated 5 matches for "initialschema".
2006 Jan 21
5
Help...why ''rake migrate'' can''t be executed on RadRails
''rake migrate'' command can''t be executed on RadRails?
I found Terminal Window at RadRails and executed ''rake migrate'' on that
terminal
many times.but nothing happend,even error messages.
I made InitialSchema file like these and configured database.yml.
of course I made database before executing ''rake migrate''
anyone,get me advice,please
Tanks
-~kota~
===================================
class InitialSchema < ActiveRecord::Migration
def self.up
create_table :lists do |t|
t.co...
2006 Mar 15
3
Self-referential join model does not work
...ute and other behavior). Thus I decided to model edges as an ''Edge''
model and use a ''has_many :trough'' association in the Node model. However,
it just doesn''t work, regardless of how hard I''ve tried.
The database structure is as follows:
class InitialSchema < ActiveRecord::Migration
def self.up
create_table :nodes do |t|
t.column :title, :string, :null => false
t.column :body, :text, :null => false, :default => ''''
end
create_table :edges do |t|
t.column :node_id, :integer, :null => false...
2006 Feb 11
3
Intial data in Migrations
One thing I found annoying about Migrations, besides that you have a
very limited ways to define your data, is that it will overwrite
EVERYTHING in your schema file. So if you spend hours customizing your
initial schema file, to get it work, exactly like you''ll need it, that
work immediately becomes for nothing once you run a migration. Your
entire schema will get rewritten, not appended
2006 Apr 21
5
installing hieraki help
Ahoy,
I tried to install hieraki and it was a big mess.
1) upload_progress module needed to be installed
2) no test/development server configured in the config file so i had to
add those
3) no log directory, had to add that
4) had to install 2 gems (ok fine)
5) once the server started, go to homepage and
" NameError in Wiki/pageController#index
uninitialized constant Node
RAILS_ROOT:
2006 Jan 23
15
Looking for DB/Model Design Suggestions
Hi,
I''m working on an app - my first Rails - and am looking for some
suggestions on the best way (or good way) to set up my models / DB. In
general there are teams and matches; a team will participate in multiple
matches, and in each match there will be 6 teams - 3 vs. 3.
I''m going to want to be able, for a particular team, pull up all matches
for that team, to display a