hi there, scuse the perhaps dumb question (I'm an angular n00b); but would it not possible to then as a client using the console; simply to set the this.setUserAuthenticated = true? and thus get around the security?
Hi there, I'm curious as to the use case here? usually when you have a process and response that is used by another controller; that process should then be abstracted into a service..
i.e.: app/services/mysharedservice.rb which returns whatever structure you are requiring.
Once you have this layout, your two controllers can instantiate and share use of that service... much cleaner and you dont need to clutter your project?
Oh yeah :) just run manage.py and look under the [django_extensions] section to see the list of options :)
Or you could use Class based FormView.. much nicer :)
Nice, I've been looking for something like this.. "django_extensions" has a pippackages command which does something similar but of course is django dependent.
Good find!
Nice and easy.. checkout "pandoc" http://johnmacfarlane.net/pandoc/ its kinda cool for this sort of thing too. :)
Hi there, php has a built in for this "str_split".
foreach(str_split('this is a bit cleaner') as $s){
echo $s .', ';
}
all the best
Ross
Sorry, dumb question.. where and what name do you give when saving this file? (n00b)
I've placed it in lib/poison_encoder.ex but get
no function clause matching in Poison.Encoder.Any.encode/2
thanks in advance