I\'m new to rails and I don\'t understand the differences between the use of new+save methods and the create method.
def create @item = Item.new(params[:
when you use, rails actually is creating the records but didn't save it, so in the process you can also assign smth
@item = Item.new(params[:item])
but when you use:
if Item.create(params[:item]) .....
it will immediately create and save
you can check it with rails c
rails c