Indy.rb Ruby Meetup 10-14-2009

Added by Peter Boling over 2 years ago

Discussion on Microconomy Startups
Key Points
  • Slow Adoption Rate
  • Low traffic requirements
  • Charge a yearly fee, recurring billing
  • Must be a need for software

TroopTrack.com uses:
Ruby on Rails
SliceHost
PivotalTracker = http://www.pivotaltracker.com/ for project management and tracking
ZenDesk = http://www.zendesk.com/ for Customer Support


Replies

RE: Indy.rb Ruby Meetup 10-14-2009 - Added by Peter Boling over 2 years ago

Dynamic URLs in CMS

Use RVM:
sudo gem install rvm
keeps separate ruby installs each with independent gem homes.
Install Ruby 1.8.6, Ruby 1.8.7, Ruby 1.9, and REE

users can choose layouts dynamically based on a file sys scrape of available layouts in layouts directory.
map.page '/*permalink', :controller => 'site', :action => 'cms', :permalink => nil # the nil provides a default

in SiteController:
#When rendering 404 error page always set :status => 404
def cms
@permalink = params[:permalink].join('/')
#determines what other action needs to be called / rendered
end

  1. Use Heroku - Free for one mongrel
    gem install heroku
    rails demo2
    git init
    git add .
    git commit -m "initial commit"
    heroku create demo2
    git push heroku master
    heroku rake db:migrate
    heroku console # same as script/console
    heroku log # tail a log
  2. Some command to restart mongrel
    then go to http://demo2.heroku.com
  1. Cool Photog Webste
    http://dmu.heroku.com
    if you get 10 saves before you get 2 deletes then your photo goes into a special pool and eventually gets published in a book.

RE: Indy.rb Ruby Meetup 10-14-2009 - Added by Peter Boling over 2 years ago

Use Active Shipper gem for shipping with lowest rates from 700 shippers.
Review advancement in nested forms plugins / code (check github)