syntax error in lib/aasm.rb line 124
Reported by ak | December 18th, 2008 @ 09:32 AM
line 124 (rasie):
def aasm_state_object_for_state(name)
obj = self.class.aasm_states.find {|s| s == name}
rasie AASM::UndefinedState, "State :#{name} doesn't exist" if obj.nil?
obj
end
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Library for adding state machines to Ruby classes. Includes persistence layers for things like ActiveRecord. Formerly known as acts_as_state_machine.