Re: q: pomodo login> SOLVED

2 views
Skip to first unread message

tom

unread,
Jun 17, 2009, 12:58:10 PM6/17/09
to restfulx-...@googlegroups.com

Jacob Henry

unread,
Jun 17, 2009, 1:19:17 PM6/17/09
to restfulx-...@googlegroups.com
how?

On Wed, Jun 17, 2009 at 10:58 AM, tom <toma...@gmail.com> wrote:




tom

unread,
Jun 17, 2009, 1:40:08 PM6/17/09
to restfulx-...@googlegroups.com
hi jacob, ur best bet is to follow:
http://dima.github.com/2009/03/19/working-with-restfulx-model-attachments.html

and then adapt the pomodo_on_rails login logic onto it.
i haven tried the upload stuff because thats not (yet) importatn to me (and a little passenger issue).

my (successful) login is getting fired, thats the importatn part ;-)

good luck!
regs

Jacob Henry

unread,
Jun 17, 2009, 2:07:41 PM6/17/09
to restfulx-...@googlegroups.com
Rx.sessionToken = Application.application.parameters.session_token;
Rx.authenticityToken = Application.application.parameters.authenticity_token;

where does Application.application.parameters.session_token get set? I see swfobject() in the index.html.erb but where is this method defined?

viatropos

unread,
Jun 23, 2009, 9:33:42 PM6/23/09
to restfulx-framework
anyone figure out the login problem yet :)?

On Jun 17, 11:07 am, Jacob Henry <jache...@gmail.com> wrote:
> Rx.sessionToken = Application.application.parameters.session_token;
> Rx.authenticityToken = Application.application.parameters.authenticity_token;
>
> where does Application.application.parameters.session_token get set?
> I see swfobject() in the index.html.erb but where is this method
> defined?
>
> On Wed, Jun 17, 2009 at 11:40 AM, tom <tomabr...@gmail.com> wrote:
> > hi jacob, ur best bet is to follow:
>
> >http://dima.github.com/2009/03/19/working-with-restfulx-model-attachm...
>
> > and then adapt the pomodo_on_rails login logic onto it.
> > i haven tried the upload stuff because thats not (yet) importatn to me (and
> > a little passenger issue).
>
> > my (successful) login is getting fired, thats the importatn part ;-)
>
> > good luck!
> > regs
>
> > On Wed, Jun 17, 2009 at 1:19 PM, Jacob Henry <jache...@gmail.com> wrote:
>
> >> how?
>
> >> On Wed, Jun 17, 2009 at 10:58 AM, tom <tomabr...@gmail.com> wrote:

viatropos

unread,
Jun 23, 2009, 9:57:50 PM6/23/09
to restfulx-framework
http://thewebfellas.com/blog/2008/12/22/flash-uploaders-rails-cookie-based-sessions-and-csrf-rack-middleware-to-the-rescue

On Jun 23, 6:33 pm, viatropos <lancejpoll...@gmail.com> wrote:
> anyone figure out theloginproblem yet :)?
>
> On Jun 17, 11:07 am, Jacob Henry <jache...@gmail.com> wrote:
>
> > Rx.sessionToken = Application.application.parameters.session_token;
> > Rx.authenticityToken = Application.application.parameters.authenticity_token;
>
> > where does Application.application.parameters.session_token get set?
> > I see swfobject() in the index.html.erb but where is this method
> > defined?
>
> > On Wed, Jun 17, 2009 at 11:40 AM, tom <tomabr...@gmail.com> wrote:
> > > hi jacob, ur best bet is to follow:
>
> > >http://dima.github.com/2009/03/19/working-with-restfulx-model-attachm...
>
> > > and then adapt the pomodo_on_railsloginlogic onto it.
> > > i haven tried the upload stuff because thats not (yet) importatn to me (and
> > > a little passenger issue).
>
> > > my (successful)loginis getting fired, thats the importatn part ;-)
Reply all
Reply to author
Forward
0 new messages