Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'jqueryui'

  • Loading branch information...
commit f76cd1a204cdf436a5094865941891de2415a8e5 2 parents 9606b8c + dda42ea
@rosario authored
Showing with 17 additions and 17 deletions.
  1. +17 −17 app/controllers/dashboard_controller.rb
View
34 app/controllers/dashboard_controller.rb
@@ -32,23 +32,23 @@ def create
u.save
#
# # Testing, add the actions
- # urls = ["http://0.0.0.0:3000/website/page1",
- # "http://0.0.0.0:3000/website/page2",
- # "http://0.0.0.0:3000/website/page3",
- # "http://0.0.0.0:3000/website/page4",
- # "http://0.0.0.0:3000/website/page5"]
- # as = []
- # for u in urls
- # p.add_action(Action.new(:url=>"#{u}", :url_id=> Digest::MD5.hexdigest(u), :kind => rand(2)))
- # end
- #
- #
- # # Randomly create 500 visitors. Useful for graphs generation
- # 500.times do
- # v = Visitor.create_random
- # v.add_random_actions(p.actions)
- # p.visitors << v
- # end
+ # urls = ["http://0.0.0.0:3000/website/page1",
+ # "http://0.0.0.0:3000/website/page2",
+ # "http://0.0.0.0:3000/website/page3",
+ # "http://0.0.0.0:3000/website/page4",
+ # "http://0.0.0.0:3000/website/page5"]
+ # as = []
+ # for u in urls
+ # p.add_action(Action.new(:url=>"#{u}", :url_id=> Digest::MD5.hexdigest(u), :kind => rand(2)))
+ # end
+ #
+ #
+ # # Randomly create 500 visitors. Useful for graphs generation
+ # 500.times do
+ # v = Visitor.create_random
+ # v.add_random_actions(p.actions)
+ # p.visitors << v
+ # end
else
p= Project.find(u.project_id)
Please sign in to comment.
Something went wrong with that request. Please try again.