Displaying 2 results from an estimated 2 matches for "next_typ".
Did you mean:
next_type
2006 May 12
1
Some error about adding.
...id,this_type)
@user = User.find(:condtions => "id = " + user_id)
@ranks = ["xw","w","m","l","xl","s","ss"]
if @user.send(this_type) >= 3
@this_type = @ranks.index(this_type)
@nexts_number = @this_type.to_i + 1
@next_type = @ranks[@nexts_number]
@user.send(@next_type) += 1
@user.send(type)
@user.save_with_validation(false)
flash[:notice] = "Exchange complete."
else
flash[:notice] = "Exchange not met."
end
redirect_to :action => "upgrade"
end
Here is usage:
<%= link_to '...
2013 Feb 07
5
[PATCH v8] gcov: Coverage support
Updated set of patches for coverage.
Changes:
- change copyright lines
- use gcov: instead of cover: in commit comment
- use #ifdef in xen/common/sysctl.c instead of dummy inline function
- added base documentation in docs/misc
- added -h option to xencov