Is there a way to refactor or generate the method based on the signature?
I often write skeleton code, and then have to go through to create the methods manually.
Presently, RubyMine is able to identify that the method doesn't exist on a class/model/controller...etc...so it should be a stretch (I think) to simply generate the method...
So if I have a model:
and in my controller, I write:
name = params[:name]
student = Student.new_student_with_name(name) if is_valid?(name)
Student#new_student_with_name(name) doesn't exist...and I'd like a way to simply generate the method skeleton.