-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
Currently there are some inconsistent ways of doing various things with proxies/blocks etc that should all have a common and consistent API. We should allow them all do use either syntax.
Safe Mode:
person.safely.save safely do person.save address.update_attribute(:street, "Forsterstr.") end
Versioning:
person.versionless.save versionless do person.save Agent.create(:name => "007") end
Timestamping:
{{`}}ruby
person.timeless.save
timeless do
person.save
Account.create(:name => "savings")
end