Guido Rumi <
guido...@gmail.com> writes:
> Hi!
>
> I'm having this beginner problem, I've thought of dirty hacks but I feel
> like I'm missing something.
>
> If I try to print a float stored in a db with {{
mov.in }} in my view, CB
> crashes with lots of errors and warnings like
> [error] gen_server boss_web terminated with reason: no case clause matching
> error in boss_load:'-load_views_inner/3-fun-1-'/5 line 408
This should not be a problem, and I also tested with David's fork to
ascertain this, using the mock db backend (the default).
So, there's something else awry, can you provide more details? What db
backend do you use? Which erlang version? Can you provide the code in
question (controller action, model and view (at least the relevant
part))?
Also, try to print the number in the console, using
io:format("~p~n", [Value])
to ensure that it is what you think it is.
> I have to make some arithmetic operations and print them in my website. I'm
> using David's fork
https://github.com/davidw/ChicagoBoss
>
> Does anyone know an easy way to solve this?
>
> I've found this patch <
https://code.google.com/p/erlydtl/issues/detail?id=6>but I'm not sure what to do with it.
That is _old_, and it hardly looks relevant. erlydtl lives on github
now.
> Thanks for your time
- Fredrik