[01:28:46]  baadshah (~jay@CPE001346fab9ed-CM602ad086fb19.cpe.net.cable.rogers.com) left irc: Quit: Lost terminal
 [02:38:11]  dddadacha (ddadacha@nat/redhat/x-xjkzquocsrdmelsc) left irc: Ping timeout: 245 seconds
 [11:32:51]  aimenk (~aimenk@CPE00226b45e6b2-CM001ac318b812.cpe.net.cable.rogers.com) joined #markus.
 [15:59:44]  ddadacha (~ddadacha@173-230-167-62.cable.teksavvy.com) joined #markus.
 [16:38:09]  Nick change: m_conley_away -> m_conley
 [16:52:48]  baadshah (~jay@CPE001346fab9ed-CM602ad086fb19.cpe.net.cable.rogers.com) joined #markus.
 [16:53:13] <baadshah>  aimenk: heyy aimen..sorry had to run a couple errands..so took long
 [17:07:09] <baadshah>  ddadacha: hey danesh..do you how to find *_path() function as a replacement for :url => {}???
 [17:07:25] <ddadacha>  baadshah: yeah
 [17:07:55] <ddadacha>  baadshah: run $ rake routes > somefile.txt
 [17:08:10] <ddadacha>  baadshah: then search for the route you're looking for
 [17:08:24] <ddadacha>  e.g. if it's :action => "some_route", search for some_route
 [17:09:03] <ddadacha>  baadshah: for instance, the get_annotations route leads me to get_annotations_assignment_annotation_category
 [17:09:25] <baadshah>  ohh
 [17:09:26] <ddadacha>  baadshah: then the path func is just "get_annotations_assignment_annotation_category" + "_path" ===> get_annotations_assignment_annotation_category_path
 [17:09:33] <baadshah>  and get_annotations is a function?
 [17:09:38] <baadshah>  i mean..action
 [17:09:43] <ddadacha>  yeah
 [17:09:50] <ddadacha>  it's a route defined in the file
 [17:09:58] <ddadacha>  so what action are you looking for?
 [17:10:04] <baadshah>  notes_dialog
 [17:10:10] <baadshah>  specifically for this code
 [17:10:52] <baadshah>  ddadacha: http://pastie.org/3514453
 [17:10:55] <ddadacha>  so search through rake routes for notes_dialog, the first set of text is the func name
 [17:11:14] <ddadacha>  baadshah: which view is this in?
 [17:11:36] <baadshah>  results/common
 [17:11:43] <baadshah>  _submisssion_selector
 [17:11:52] <baadshah>  _submission_select.html.erb***
 [17:12:09] <ddadacha>  okay so it says controller is note
 [17:12:29] <ddadacha>  and the action is notes_dialog
 [17:12:32] <baadshah>  ya i was confused because of all those parameters
 [17:12:38] <baadshah>  :noteable_id => and all that
 [17:13:14] <ddadacha>  if the action is unique enough (e.g. it isn't a standard edit or new or some such), then you can jump straight to searching for it in output of $ rake routes
 [17:13:31] <ddadacha>  baadshah: those are all params to the action (which is a function in the end)
 [17:13:53] <ddadacha>  baadshah: all you need to do is remove the controller/action params
 [17:14:01] <ddadacha>  since that's what the _path function substitutes in
 [17:14:23] <baadshah>  ok..and then have all the parameters in {}
 [17:14:24] <baadshah>  ??
 [17:14:44] <ddadacha>  nope
 [17:14:52] <ddadacha>  just in the func
 [17:15:24] <baadshah>  gives me following error when i run ruby routes
 [17:15:25] <baadshah>  rake aborted!
 [17:15:25] <baadshah>  uninitialized constant Rake::DSL
 [17:15:25] <baadshah>  /home/jay/Documents/Markus/Rakefile:6
 [17:15:25] <baadshah>  (See full trace by running task with --trace)
 [17:16:09] <ddadacha>  k so it's basically :url => {:controller => "foo", :action => "bar", :param1 => "p1", :param2 => "p2}, if the route is "foo_bar" then the line c an just be foo_bar(:param1=>"p1",:param2=>"p2")
 [17:16:13] <ddadacha>  it's rake routes
 [17:16:15] <ddadacha>  not ruby routes
 [17:16:53] <baadshah>  yaa sorry..tht's wat i ran
 [17:16:55] <baadshah>  rake routes
 [17:17:01] <ddadacha>  from the markus dir?
 [17:17:07] <baadshah>  yup
 [17:17:20] <ddadacha>  do you have any weird routes setup?
 [17:17:21] <baadshah>  do u think i've to set the database again
 [17:17:27] <ddadacha>  no
 [17:17:29] <baadshah>  no
 [17:17:31] <baadshah>  i don't
 [17:17:39] <ddadacha>  hmm is it master's routes?
 [17:18:19] <ddadacha>  I mean is your file different from master's routes.rb?
 [17:18:44] <baadshah>  yes
 [17:19:06] <baadshah>  b/c i made some changes to one or two routes
 [17:19:10] <baadshah>  for one of my issues
 [17:19:16] <baadshah>  i'm in a diff branch
 [17:19:26] <ddadacha>  could you do me a favour and git stash
 [17:19:28] <ddadacha>  then try again
 [17:19:36] <ddadacha>  let's isolate the problem first before digging into your changes
 [17:20:37] <baadshah>  ya same prooob
 [17:21:00] <ddadacha>  :/
 [17:21:14] <ddadacha>  see I just learned about rake routes last week...no idea what it actually uses :S
 [17:21:24] <ddadacha>  baadshah: could you checkout master and try?
 [17:21:35] <baadshah>  yup did the same and tried ttoo
 [17:21:37] <ddadacha>  (make sure you stash/commit all changes you want to keep)
 [17:22:00] <baadshah>  ya
 [17:22:14] <ddadacha>  :/
 [17:22:35] <ddadacha>  so master had the same problem?
 [17:23:06] <ddadacha>  I guess try 'rake db:migrate', not sure why that would help but..
 [17:23:53] <baadshah>  kk
 [17:25:30] <baadshah>  yaa same pro
 [17:25:32] <baadshah>  prob.
 [17:25:34] <baadshah>  :s
 [17:25:49] <ddadacha>  can you paste the output again please
 [17:27:56] <baadshah>  rake aborted!
 [17:27:56] <baadshah>  uninitialized constant Rake::DSL
 [17:27:56] <baadshah>  /home/jay/Documents/Markus/Rakefile:6
 [17:29:59] <ddadacha>  baadshah: output of bundle list rake?
 [17:30:42] <baadshah>  rake routes
 [17:30:47] <baadshah>  output of rake routes
 [17:31:04] <ddadacha>  meant what is the output of 'bundle list rake'
 [17:31:24] <baadshah>  oh
 [17:31:25] <baadshah>  it's...
 [17:31:31] <baadshah>  /usr/lib/ruby/gems/1.8/gems/rake-0.9.2
 [17:33:39] <ddadacha>  ugh
 [17:33:49] <ddadacha>  apparently you have the right one
 [17:34:01] <baadshah>  loll
 [17:35:36] <ddadacha>  baadshah: could you paste (on a paste site) bundle list?
 [17:37:11] <baadshah>  ddadacha: yup..http://pastie.org/3514453
 [17:38:28] <ddadacha>  baadshah: are you using mysql or postgresql? Thought you were using my
 [17:39:17] <baadshah>  yaa but i had some problem with mysql..so changed to postgresql
 [17:39:49] <ddadacha>  k
 [17:39:59] <ddadacha>  baadshah: not sure what the issue is, you're setup the same as I am
 [17:40:53] <baadshah>  do u no any1 else who might be aware abt this?
 [17:41:20] <ddadacha>  baadshah: not really, since no one is on, try emailing markus-dev
 [17:41:28] <ddadacha>  baadshah: I'll send you my rake routes output of master for now
 [17:41:39] <baadshah>  okk
 [17:41:40] <ddadacha>  can you make do with that?
 [17:41:52] <baadshah>  yupp
 [17:41:56] <baadshah>  for sure
 [17:42:06] <baadshah>  thankss:)
 [17:42:34] <ddadacha>  http://fpaste.org/jhBa/
 [17:42:38] <ddadacha>  baadshah: np
 [17:42:59] <ddadacha>  line 246 is what you're looking for IIRC
 [17:43:21] <ddadacha>  baadshah: http://stackoverflow.com/questions/6181312/how-to-fix-the-uninitialized-constant-rakedsl-problem-on-heroku
 [17:43:30] <ddadacha>  that would be _a_ solution but I don't think we actually want that
 [17:43:37] <ddadacha>  there's a problem you're running into that none of us are
 [17:43:44] <ddadacha>  so might be something specific to your env
 [17:43:48] <ddadacha>  mention that in the email
 [17:44:04] <baadshah>  okk suree
 [17:44:15] <baadshah>  so
 [17:44:21] <baadshah>  for the paths
 [17:44:30] <baadshah>  i just add _path()
 [17:44:39] <baadshah>  and the parameters
 [17:44:56] <ddadacha>  yeah
 [17:45:05] <baadshah>  tht's awesome
 [17:45:13] <ddadacha>  baadshah: try pulling master btw
 [17:45:16] <ddadacha>  and see if it fixes..
 [17:45:19] <ddadacha>  anyway
 [17:45:42] <baadshah>  oh true i haven't done it in some times now
 [17:46:25] <baadshah>  k i'm havin lunch rt now..so will try it in a few min
 [17:47:14] <ddadacha>  baadshah: k I'm off for ~1 hour
 [17:47:38] <ddadacha>  baadshah: it probably won't fix your problem, don't see why it would because your current local master should have worked anyway
 [17:47:48] <ddadacha>  if it does, good. If it doesn't, send the email
 [17:47:49] <baadshah>  k np..thanks a lot this file shud help me move on
 [17:47:59] <ddadacha>  baadshah: yeah but still send the email :P
 [17:48:06] <baadshah>  yaa def will
 [17:48:09] <ddadacha>  baadshah: that output changes quite a bite
 [17:48:10] <ddadacha>  bit*
 [17:48:12] <ddadacha>  bye!
 [17:48:16]  ddadacha (~ddadacha@173-230-167-62.cable.teksavvy.com) left irc: Quit: be back later
 [18:37:54]  tobioboye (~drone@gw-wifi14.cdf.toronto.edu) joined #markus.
 [18:48:30]  tobioboye (~drone@gw-wifi14.cdf.toronto.edu) left irc: Quit: tobioboye
 [18:52:30]  tobioboye (~drone@gw-wifi14.cdf.utoronto.ca) joined #markus.
 [19:07:49]  Nick change: m_conley -> m_conley_away
 [19:24:28]  ddadacha (~ddadacha@gw-wifi10.cdf.toronto.edu) joined #markus.
 [19:35:07]  ddadacha (~ddadacha@gw-wifi10.cdf.toronto.edu) left irc: Ping timeout: 276 seconds
 [19:37:37]  ddadacha (~ddadacha@gw-wifi10.cdf.toronto.edu) joined #markus.
 [20:21:00]  MarkUsGithubCIA (~MarkUsGit@sh2.rs.github.com) joined #markus.
 [20:21:00] <MarkUsGithubCIA>  [Markus] jerboaa pushed 2 new commits to master: http://git.io/qKtIMg
 [20:21:00] <MarkUsGithubCIA>  [Markus/master] Merge branch 'master' into remove_unused_partial - Danesh Dadachanji
 [20:21:00] <MarkUsGithubCIA>  [Markus/master] Merge pull request #693 from daneshd/remove_unused_partial - Severin Gehwolf
 [20:21:00]  MarkUsGithubCIA (~MarkUsGit@sh2.rs.github.com) left #markus.
 [20:22:16]  MarkUsGithubCIA (~MarkUsGit@sh1-ext.rs.github.com) joined #markus.
 [20:22:16] <MarkUsGithubCIA>  [Markus] jerboaa pushed 1 new commit to master: http://git.io/9dvJAw
 [20:22:16] <MarkUsGithubCIA>  [Markus/master] Merge pull request #694 from daneshd/issue441 - Severin Gehwolf
 [20:22:16]  MarkUsGithubCIA (~MarkUsGit@sh1-ext.rs.github.com) left #markus.
 [20:30:48]  aimenk (~aimenk@CPE00226b45e6b2-CM001ac318b812.cpe.net.cable.rogers.com) left #markus.
 [20:38:51]  ddadacha (~ddadacha@gw-wifi10.cdf.toronto.edu) left irc: Ping timeout: 252 seconds
 [20:38:54]  dddadacha (~ddadacha@gw-wifi14.cdf.utoronto.ca) joined #markus.
 [20:44:55]  dddadacha (~ddadacha@gw-wifi14.cdf.utoronto.ca) left irc: Ping timeout: 265 seconds
 [21:19:07]  tobioboye (~drone@gw-wifi14.cdf.utoronto.ca) left irc: Ping timeout: 276 seconds
 [21:48:42]  ddadacha (~ddadacha@user250-10.wireless.utoronto.ca) joined #markus.
 [21:51:15]  baadshah (~jay@CPE001346fab9ed-CM602ad086fb19.cpe.net.cable.rogers.com) left irc: Quit: leaving
 [22:00:25]  tobioboye (~drone@user247-155.wireless.utoronto.ca) joined #markus.
 [22:06:18]  baadshah (~jay@CPE001346fab9ed-CM602ad086fb19.cpe.net.cable.rogers.com) joined #markus.
 [22:21:32] <baadshah>  ddadacha: hey danesh..so bundle exec rake routes fixed it..but now i can't do anything because my database isn't working properly
 [22:22:49] <ddadacha>  baadshah: k let me check up on the email
 [22:23:31] <baadshah>  ddadacha: yaa..see i applied severin's fix to the db/populate/02_students.rb file...but now it gave me another error
 [22:25:11] <baadshah>  ddadacha: in models/user.rb file..line 151...it says the method ``read`` is not defined in user_list.read
 [22:25:59] <ddadacha>  baadshah: start over with rake
 [22:26:03] <ddadacha>  baadshah: rake db:reset
 [22:26:12] <baadshah>  ok
 [22:26:21] <ddadacha>  baadshah: actually sorry
 [22:26:26] <ddadacha>  to be safe, use bundle exec rake
 [22:26:32] <baadshah>  lol..too late
 [22:26:39] <ddadacha>  doesn't matter, just do it again
 [22:26:39] <baadshah>  oh yaa...i added bundle exec
 [22:26:48] <ddadacha>  k
 [22:26:50] <ddadacha>  so db:reset
 [22:26:53] <ddadacha>  then db:create:all
 [22:26:53] <baadshah>  i just thought u were keeping it short...i added in front of it anyway
 [22:27:02] <ddadacha>  ah k
 [22:27:26] <ddadacha>  some people have an actual rake executable so you don't need to go through bundle
 [22:27:28] <ddadacha>  anyway
 [22:27:29] <baadshah>  k so wen i ran db:create:all...it said postgre exists
 [22:27:45] <ddadacha>  then db:schema:load
 [22:27:51] <ddadacha>  then db:populate
 [22:28:40] <baadshah>  ddadacha: yaa i'm getting same error
 [22:28:48] <baadshah>  the trace goes to models/user.rb
 [22:28:49] <baadshah>  file
 [22:28:50] <ddadacha>  baadshah: k please fpaste the error
 [22:28:53] <baadshah>  line 151
 [22:29:21] <baadshah>  says: the method read is undefined in..``user_list.read``
 [22:30:25] <ddadacha>  baadshah: you haven't applied the p[atch in severin's latest email
 [22:31:24] <ddadacha>  replace line 5 of db/populate/02_students.rb with User.upload_user_list(Student, csv_students, nil)
 [22:32:01] <ddadacha>  baadshah: do you need sample criteria loaded?
 [22:32:43] <ddadacha>  baadshah: check out Severin's last email btw
 [22:32:46] <ddadacha>  or well 2nd last
 [22:33:35] <baadshah>  ddadacha: yaa i modified that
 [22:33:41] <baadshah>  as Severin suggested
 [22:33:51] <baadshah>  ddadacha: but it gives me the following trace
 [22:34:44]  *** ddadacha waits