<br><br><div class="gmail_quote">On Thu, Apr 10, 2008 at 10:21 AM, Prateek Dayal &lt;<a href="mailto:prateek.dayal@gmail.com">prateek.dayal@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
I tried to dig deeper into the problem and I think the basic problem<br>
is that whenever i do User.find, rails finds Facebooker::User class<br>
before my regular User class. I tried doing ::User.find but that did<br>
not help either. Any way to set a default search order?</blockquote><div><br>In my experience diving into these types of issues in the Rails source tends to be a serious time sync.&nbsp; Can you just change your User class to Member or something like that.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
<br>
</div>I have a slightly OT doubt on this. I was trying to setup a login and<br>
password form in my app that could be use to link accounts at any<br>
point. I noticed that fbml does not have a password field for forms.</blockquote><div><br>You can do password fields with the fb:editor-custom tag.<br><br>&lt;fb:editor-custom label=&quot;TravelersTable Password&quot;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &lt;%= password_field_tag &#39;member[password]&#39;, nil %&gt;<br>&lt;/fb:editor-custom&gt;<br><br>I think there is a helper for it.<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Is it mandatory to use iframe for this step in that case? Also can I<br>
use ensure_application_is_installed_by_facebook_user &nbsp;and other<br>
facebooker methods in the iframe to get facebook uid and link with<br>
account?</blockquote><div><br>You can call those methods.&nbsp; They will cause redirects to happen if the user is not authenticated&nbsp; so you will want to special case them.<br>&nbsp;<br>Dave<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Thanks a lot for your response<br>
<br>
Regards<br>
<font color="#888888">Prateek<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Facebooker-talk mailing list<br>
<a href="mailto:Facebooker-talk@rubyforge.org">Facebooker-talk@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/facebooker-talk" target="_blank">http://rubyforge.org/mailman/listinfo/facebooker-talk</a><br>
</div></div></blockquote></div><br>