Joost Hietbrink

Results 21 comments of Joost Hietbrink

``` def test_for_reversed_with_limiting assigns = {'array' => [ 1, 2, 3] } assert_template_result('32','{%for item in array reversed limit:2 %}{{item}}{%endfor%}',assigns) end ``` It is the other way around. Looking at the...

Hi, please check if this is a phony gem issue. If not please create the test cases and a merge request.

Not sure why this happens. Please elaborate on your (model) setup.

Thanks. If you could give an example (eg. an example like given in #187) it might help to find the problem.

@milesmatthias is this still an issue? I added a test that shows it should not happen.

Hi! Do you still have this issue? Please check if you have the latest https://github.com/floere/phony gem installed with phony_rails.

Any suggested fix? Open to pull requests. On Thu, Jan 28, 2021, 12:19 Chris Howlett wrote: > Because normalize_number strips all non-phonelike characters from its > input, you get weird...

Hi @asilano! I see things broke when using `phony_rails` with the more recent gems. I've fixed the tests by some updates & by removing MongoDb support. I will push a...

Please see the https://github.com/joost/phony_rails/tree/no_mongoid branch for a version with working specs. Pull request welcome!