Check that, is there any filter which is restricting access in the controller where you have defined your method in your application. Which is being called when you click on button and popup comes.
On Thu, Mar 3, 2011 at 1:17 PM, Chandu80 <[email protected]> wrote: > Hi Colin, > Yes the text was appearing from the application.A null value was being > passed due to which the text 'Unauthorized Access' was being rendered. > When I click on Reply,a javascript runs which populates data in the > pop-up. > Thanks > > Regards > Chandrika > > On Mar 2, 2:59 pm, Colin Law <[email protected]> wrote: > > On 2 March 2011 06:17, Chandu80 <[email protected]> wrote: > > > > > Hello All, > > > I have recently begun working on RoR. > > > I am working on a microblogging application.I have a timeline where > > > messages posted by users and his/her followers are being > > > displayed.There is a facility for the logged in user to reply to those > > > messages.(A reply button is present).When I click on a reply message,a > > > popup should appear with a Text area and a Post button.(similar to > > > that in twitter). > > > However when I try to click on reply,the pop-up appears with > > > "Unauthorized Access". > > > What does Unauthorized access imply here? > > > > Does that text come from your application? Do a global search in your > > code for that string displayed. > > When you click Reply does that run javascript to show the popup or > > does it run an action in the rails app? > > Assuming the latter, have a look in development.log, what do you see > > there when you click on Reply > > > > Colin > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- Please consider the environment before printing this email. Regards, Surya -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

