I've just realized that aside from checking the database or reading all the migrations that contributed to a certain model, I'm not really sure how I would find out what attributes a certain Model had in a Rails project. In any other context I've ever worked in, I would go look at the file where the Model definition was (the class file, per se) to find out something like that.
How is this normally done in Rails when you join a pre-existing project and are learning the code? Just by using the Rails console?