Displaying 4 results from an estimated 4 matches for "createprojects".
Did you mean:
createproject
2006 Jan 12
2
Web services and login?
Has anyone managed to do this? I thought about using sessions but they
dont want to work for me... Here''s what I''m doing as a little test:
class NotLoggedIn < Exception
end
class ProjectsController < ApplicationController
wsdl_service_name ''Projects''
web_service_api ProjectsApi
def Login
@session[:loggedIn] = true
end
def GetProjects
2009 Jul 21
1
synatx error while running migration
...ot
password: root123
host: localhost
i have also define the necessary code inside my all engine models and
migration files
like this
code of
project.rb
class Project < ActiveRevcord::Base
self.establish_connection :pms
end
/db/migrate/20090715172542_create_projects.rb
class CreateProjects < ActiveRecord::Migration
def self.connection
Project.connection
end
def self.up
create_table :projects do |t|
t.string :name
t.text :description
t.integer :manager_id
t.timestamps
end
end
def self....
2009 Nov 04
0
The error occurred while evaluating nil.prefetch_primary_key
...|t|
t.string :name # Name
t.string :alias # Alias-Name
t.string :descr # Description
t.timestamps
end
end
def self.down
drop_table :connections
end
end
class CreateProjects < ActiveRecord::Migration
def self.up
create_table :projects do |t|
t.string :name # Name
t.string :descr # Description
t.timestamps
end
end
def self.down
drop_table :projects
end
end
class CreateWayS...
2005 Jan 13
10
Program logic behind Ruby On Rails
Hi, I''m a newbie in both Ruby and Ruby on Rails. I finished the Ruby on
Rail Tutorial on Todo list and it was great. But, now I''m trying to
understand the logic behind it, that is something that is not obvious on
how each one of them ties together.
Is there a flowchart that shows how the inner working of Ruby on Rails?
In another words, let''s suppose we consider the