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

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -