@ralphwintle I disagree with @benorenstein only to the extent it prevents you from starting to apply for jobs. To give you a sense of what I used to get my first rails job:
https://github.com/noahc/teacherjoy and https://github.com/noahc/verteo-pharma. In particular look at https://github.com/noahc/verteo-pharma/blob/master/app/controllers/static_pages_controller.rb. It’s not pretty. I don’t think I have a single model that doesn’t inherent from active record for example.
Where are you located? This might make some difference too. As well as the type of jobs your applying for. It seems like in the midwest there is less of a focus on rock stars and ninjas and a bit more of a willingness to mentor folks who might not be excellent craftsmen yet. Also, if you’re looking at more enterprise types of jobs, I think you’ll be surprised how little they care about “code you’re proud of”. Can you produce code that works? is a more important question for many.
This isn’t to say you shouldn’t be trying to get better, but nothing makes you better like having to deal with real issues and the trade offs associated with them. Don’t wait until you’re good enough to apply.