Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This is a very simple app for referral and/or affiliate tracking in rails. I wanted to add a dropbox style referral option to an application. There is a blog post which describes how can you roll your own.
Ruby Other
branch: master

added text

latest commit 8823ab2ba4
Dan Voell authored
Failed to load latest commit information.
Template1 simpe referral tracking
app
config rails_apps_composer: set up database
db simpe referral tracking
features
lib rails_apps_composer: testing framework
public rails_apps_composer: extras
script rails_apps_composer: testing framework
spec rails_apps_composer: rspec files
vendor rails_apps_composer: initial commit
.gitignore rails_apps_composer: generators
Gemfile
Gemfile.lock rails_apps_composer: create database
README updated readme
README.textile updated readme4
Rakefile
config.ru rails_apps_composer: initial commit

README.textile

This is a very simple app for referral and/or affiliate tracking in rails. I wanted to create a dropbox style referral option to an application.

The basic idea is that the devise user id is the referral code. When a user logs in, their referral code is in the header. When a new user signs up via that referral link, the referral id is stored.

This app was built on top of the RailsApp with Devise, CanCan and Bootstrap pre-intalled.

I did a short blog write up as to how it was created -

http://danvoell.com/dev/2013/06/simple-affiliate-and-referral-tracking-with-devise-in-rails-with-a-hint-of-cookies-and-session-variables/

I am a hack developer at best if you have ideas for improvements, by all means go for it, or let me know what I should do.

Thanks!
Dan

This application was generated with the rails_apps_composer gem provided by the RailsApps Project.

Diagnostics

This application was built with recipes that are known to work together.

This application was built with preferences that are NOT known to work together.

If the application doesn’t work as expected, please report an issue and include these diagnostics:

We’d also like to know if you’ve found combinations of recipes or preferences that do work together.

Recipes:
[“controllers”, “core”, “email”, “extras”, “frontend”, “gems”, “git”, “init”, “models”, “prelaunch”, “railsapps”, “readme”, “routes”, “saas”, “setup”, “testing”, “views”]

Preferences:
{:git=>true, :railsapps=>"rails3-bootstrap-devise-cancan", :database=>"sqlite", :unit_test=>"rspec", :integration=>"cucumber", :fixtures=>"factory_girl", :frontend=>"bootstrap", :bootstrap=>"sass", :email=>"gmail", :authentication=>"devise", :devise_modules=>"default", :authorization=>"cancan", :starter_app=>"admin_app", :form_builder=>"simple_form", :quiet_assets=>true, :local_env_file=>true, :better_errors=>true, :dev_webserver=>"webrick", :templates=>"erb", :continuous_testing=>"none", :rvmrc=>false}

Ruby on Rails

This application requires:

  • Ruby version 1.9.3
  • Rails version 3.2.13

Learn more about Installing Rails.

Database

This application uses SQLite with ActiveRecord.

Development

  • Template Engine: ERB
  • Testing Framework: RSpec and Factory Girl and Cucumber
  • Front-end Framework: Twitter Bootstrap (Sass)
  • Form Builder: SimpleForm
  • Authentication: Devise
  • Authorization: CanCan

Email

The application is configured to send email using a Gmail account.

Getting Started

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Documentation and Support

This is the only documentation.

Issues

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Similar Projects

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Contributing

If you make improvements to this application, please share with others.

  • Fork the project on GitHub.
  • Make your feature addition or bug fix.
  • Commit with Git.
  • Send the author a pull request.

If you add functionality to this application, create an alternative implementation, or build an application that is similar, please contact me and I’ll add a note to the README so that others can find your work.

Credits

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

License

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Something went wrong with that request. Please try again.