Skip to content
No description or website provided.
Ruby JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
spec
test
vendor
.gitignore
.rspec
.rvmrc
Gemfile
Gemfile.lock
README
Rakefile
config.ru

README

== TODO: List
* pagination gem and bootstrap styles
* inline error messages
* text in config/locales


== Steps to create this app

* With RVM already installed
* rvm get latest
* rvm reload
* rvm install 1.9.3
* rvm use 1.9.3
* rvm gemset create son-of-tm
* rvm use 1.9.3@son-of-tm
* gem install bundler
* gem install rails
* rails new son_of_task_manager
* cd son_of_task_manager

== Gems

Update Gemfile

rspec-rails
* https://github.com/rspec/rspec-rails
* rails generate rspec:install

omniauth-openid
* https://github.com/intridea/omniauth-openid
* create config/initializers/omniauth.rb
* get code from http://railscasts.com/episodes/304-omniauth-identity
* the download auth-before has all the needed bits

twitter-bootstrap UI
* https://github.com/anjlab/bootstrap-rails
* gem "anjlab-bootstrap-rails", "~> 1.4.0.13"
* add requires to app css and app js
* good stuff here as well - http://lucapette.com/rails/twitter-bootstrap-on-rails/

paper trail
* https://github.com/airblade/paper_trail
* gem 'paper_trail', '~> 2'
* rails generate paper_trail:install
* migrate

RSpec.configure do |config|
  config.before :each do
    PaperTrail.controller_info = {}
    PaperTrail.whodunnit = nil
  end
end

# create some models
rails g scaffold Project name:string owner_id:integer is_active:boolean
set up papertrail
Something went wrong with that request. Please try again.