If you’ve been working in Rails for 2 years (a good chunk of the time that Rails has been around) then you should have something to show the prospective employer. If you don’t, write something simple that showcases your abilities and get it online!
I always ask to see examples of what the prospect has done. If they can’t give me access because it’s a closed system, then i try to get them to send screen shots.
When you come in for an interview, bring a portfolio with you… should have screenshots, database designs, anything that can showcase your awesomeness. I have always done that, and my students always have good luck with that technique as well. It gives you something to talk about when they ask about “a tough project you were involved in” or say “give me an example of a time when you…”
Good luck in your job hunt!