ruby on rails - RoR naming convention for methods? -
i've noticed actions have same names, better way? there list of these names?
for example in controller see:
def new end def create end def destroy end etc...
do these specific action hold purpose in ruby on rails?
thanks
those 7 default actions support restful. these one-to-one
mapping crud. can add own action method.
more info: rails routing
Comments
Post a Comment