Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. 42 method

42 method

Scheduled Pinned Locked Moved The Weird and The Wonderful
rubyhtmljson
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Indivara
    wrote on last edited by
    #1

    Rails ActiveRecord has a forty_two method ActiveRecord::FinderMethods[^] Both weird and wonderful :)

    M N 2 Replies Last reply
    0
    • I Indivara

      Rails ActiveRecord has a forty_two method ActiveRecord::FinderMethods[^] Both weird and wonderful :)

      M Offline
      M Offline
      Midi_Mick
      wrote on last edited by
      #2

      Could only ever reliably be called from the WhatDoYouGetIfYouMulitply6x9() method.

      J 1 Reply Last reply
      0
      • M Midi_Mick

        Could only ever reliably be called from the WhatDoYouGetIfYouMulitply6x9() method.

        J Offline
        J Offline
        Jeremy Falcon
        wrote on last edited by
        #3

        That should throw the Call6x7MethodInstead exception.

        Jeremy Falcon

        1 Reply Last reply
        0
        • I Indivara

          Rails ActiveRecord has a forty_two method ActiveRecord::FinderMethods[^] Both weird and wonderful :)

          N Offline
          N Offline
          Nathan Minier
          wrote on last edited by
          #4

          It should immediately throw the find_question event.

          "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

          D 1 Reply Last reply
          0
          • N Nathan Minier

            It should immediately throw the find_question event.

            "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

            D Offline
            D Offline
            Daniel Pfeffer
            wrote on last edited by
            #5

            No, it shouldn't. The event should only be thrown after 6 million years of intensive computation. :)

            If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill

            N 1 Reply Last reply
            0
            • D Daniel Pfeffer

              No, it shouldn't. The event should only be thrown after 6 million years of intensive computation. :)

              If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack. --Winston Churchill

              N Offline
              N Offline
              Nathan Minier
              wrote on last edited by
              #6

              I strongly suspect that the event function just contains:

              stdout << "I'll have to think about it.";
              Thread.Sleep(189345600000000000);
              sdout << "I have it!";

              "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups