Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added annotate_models, resource_controller, jrails and capified project
- Loading branch information
Showing
7 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
[submodule "vendor/plugins/userstamp"] | ||
path = vendor/plugins/userstamp | ||
url = git://github.com/delynn/userstamp.git | ||
[submodule "vendor/plugins/jrails"] | ||
path = vendor/plugins/jrails | ||
url = git://github.com/aaronchi/jrails.git | ||
[submodule "vendor/plugins/resource_controller"] | ||
path = vendor/plugins/resource_controller | ||
url = git://github.com/giraffesoft/resource_controller.git | ||
[submodule "vendor/plugins/annotate_models"] | ||
path = vendor/plugins/annotate_models | ||
url = git://github.com/smtlaissezfaire/annotate_models.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
load 'deploy' if respond_to?(:namespace) # cap2 differentiator | ||
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } | ||
load 'config/deploy' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
set :application, "set your application name here" | ||
set :repository, "set your repository location here" | ||
|
||
# If you aren't deploying to /u/apps/#{application} on the target | ||
# servers (which is the default), you can specify the actual location | ||
# via the :deploy_to variable: | ||
# set :deploy_to, "/var/www/#{application}" | ||
|
||
# If you aren't using Subversion to manage your source code, specify | ||
# your SCM below: | ||
# set :scm, :subversion | ||
|
||
role :app, "your app-server here" | ||
role :web, "your web-server here" | ||
role :db, "your db-server here", :primary => true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
class CreateUsers < ActiveRecord::Migration | ||
def self.up | ||
create_table :users do |t| | ||
t.string :first_name | ||
t.string :last_name | ||
t.string :crypted_password | ||
t.string :password_salt | ||
t.string :persistence_token | ||
t.string :perishable_token | ||
t.integer :login_count, :null => false, :default => 0 | ||
t.string :email, :null => false, :default => "" | ||
t.datetime :last_request_at | ||
t.datetime :last_login_at | ||
t.string :current_login_at | ||
t.string :last_login_ip | ||
t.string :current_login_ip | ||
end | ||
add_index :users, :perishable_token | ||
add_index :users, :email | ||
end | ||
|
||
def self.down | ||
drop_table :users | ||
end | ||
end |
Submodule annotate_models
added at
deee2b
Submodule jrails
added at
d367aa
Submodule resource_controller
added at
2b261b