changed the names of methods in models to the rails conventions

Another PR, check the changes and if you like merge this too.