From Mine Blocks Wiki
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!
The Detector Rail will power up redstone if a Minecart is on it. A Minecart must be on it before it can power up your contraption.