Yes I believe it’s a ruby function for formatting strings, but I thought we’d fixed this issue long ago (parititon was the erroneous name we’d fixed before if I recall correctly).
I’ll take a look at it and file a ticket upstream if it’s a bug.
I’ve created this issue below upstream for this. I have the fix in the ticket but I see it may be in other places too so that may not be the actual fix we use.
In any case, with 4.2 being so soon and small in scope I don’t know when we’ll patch this.
We likely need to remove that item from the documentation which I’ll do shortly.
I think your issue wish partition is as simple as it’s being cached. I’m guessing one value is being cached and the other value is being used in the submit.yml.erb.
I.e., partition is in your cache, but submit.yml.erb expects/uses the variable partition2. When you reluanch you use the cached values - but since partition2 is being used in the submit.yml.erb it’s being evaluated as an empty string because partition is the variable that’s being populated.
1,000 apologies. You’re right about partition - when I thought I fixed this, I wrote a test case for it and only checked how it renders in the form. partition renders in the form correctly - but is then evaluated differently when it submits.