There are no reviews yet. Be the first to send feedback to the community and the maintainers!
SevenMinuteAbs ======= Ab testing is 7 minutes. Not 6, not 5, 7! Tested in rails 2.3.2 Installation ======= go to your rails app directory ./script/plugin install git://github.com/paulmars/seven_minute_abs.git Setup the database to store your info ======= ruby script/generate ab_migration rake db:migrate Include Code ======= add these lines to these files module ApplicationHelper include AbViewHelper end class ApplicationController < ActionController::Base include SevenMinuteAbs before_filter :ab_click_count end Use it! ======= Test if orange or blue gets more clicks "linkcolor" -> name of your test 2 -> number of different versions you have (else statement) make sure to include 'test.stub' in any urls, otherwise clicks won't be counted! <% ab_test("linkcolor", 2) do |test,version|%> <% if version == 0 %> <%= link_to "Blue version", url_for(:ab => test.stub), {:style => "color:blue"} %> <% elsif version == 1 %> <%= link_to "Orange version", url_for(:ab => test.stub), {:style => "color:orange"} %> <% end %> <% end %> See Stats ======= A quick way to see your stats. You want the highest % possible to be your main choice! <% Ab.find(:all).each do |ab| %> <div class="ab-result"> <pre> name:<%= ab.testname %> v:<%= ab.version %> <%= ab.percent_clicked %>% <%= ab.display_count %> <%= ab.click_count %> <%= ab.stub %> <%= ab.created_at %> </pre> </div> <% end %> Copyright (c) 2009 Paul McKellar, released under the MIT license
huffshell
HuffShell is a gem for suggesting and optimizing your shell aliases, programtically.realiaser
Realiaser is a game which helps you memorize your shell aliases.swiftbuttons
swift buttonscrumble-code
a collection of scripts made by friendsrethinkdb-backbone
Store for RethinkDB using Backboneflatfoot
flatfootcorebluetooth
Core bluetooth demo code.helpermoth
generic rails stuff for all projectsdotjs
dotjs customizationstablemoth
table moth, make clean tables no matter waht is in themsnippits
apphost
A really simple way to host IPA files.skels
a skeleton scaffold that does rspec + forms + partials + rjspaulmars.github.com
textmate-theme-myink
myinkconnect-methodoveride
Connect method override (rails style)Love Open Source and this site? Check out how you can help us