How do you delete an ActiveRecord object?
I looked at Active Record Querying and it does not have anything on deleting that I can see.
-
Delete by
id
, -
Delete the current object like:
user.remove
, -
Can you delete based on a
where
clause?
How do you delete an ActiveRecord object?
I looked at Active Record Querying and it does not have anything on deleting that I can see.
Delete by id
,
Delete the current object like: user.remove
,
Can you delete based on a where
clause?