Given the following code:
def create @something = Something.new(params[:something]) thing = @something.thing
Can the create method be enclosed in an ActiveRecord transaction implicitly, or would I need to associate it with a transaction block? If I need to wrap it, is this a better approach?
source share