Ruby and FBML

Hello all,

I am developing a facebook application using FBML/RFacebook. My
index.rhtmlfile only contains <fb:profile-pic uid=loggedinuser>. This
is working in
FBML test console provided by facebook. This also works on IFrame, but
if I
set my application settings to Use FBML, I get an error saying

Errors while loading page from application

Received HTTP error code 422 while loading
My controller for socialrecipe doesnt have anything in its index
I have also tried putting other HTML tags but it doesnt work. But if I
change my settings to Use IFrame, it starts working (obviously the
fb:profile-pic doesnt work coz its an FBML tag, but other HTML elements

Any help in this regard will be highly appreciated


Haris G.