[Rails] form post command?

2008-11-12 Thread xxmithila

Help me...

error on form post:-

 ActionController::InvalidAuthenticityToken


this is the my code


RHTML file






---
CONTROLLER
class MsgController < ApplicationController
  def confirm
@data = params[:text1]
end
end



what is the reason, Im stucked help me
mithila.
--~--~-~--~~~---~--~~
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 rubyonrails-talk@googlegroups.com
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
-~--~~~~--~~--~--~---



[Rails] connection refused

2008-11-12 Thread xxmithila

what is the reason for this error. this return when try to direct web
page.

No connection could be made because the target machine actively
refused it. - connect(2)
--~--~-~--~~~---~--~~
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 rubyonrails-talk@googlegroups.com
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
-~--~~~~--~~--~--~---



[Rails] direct to same page

2008-11-09 Thread xxmithila

Hi guys

   I want to drict again same page after submitting values to another
methode in the controller.



ex::

Im in

post.rhtml

I submit some data to methode


def mail

end

then I want to direct again to post.rhtml  page with submission
success message.


please help me.
mithila
--~--~-~--~~~---~--~~
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 rubyonrails-talk@googlegroups.com
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
-~--~~~~--~~--~--~---



[Rails] Problem with acts_as_attachment

2008-11-02 Thread xxmithila

HI..
I used acts_as_attachment plugin ot upload a picture, but it return
this ERROR when uploading.
pls help stucked..

error:-

undefined method `after_attachment_saved_callback_chain'
--~--~-~--~~~---~--~~
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 rubyonrails-talk@googlegroups.com
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
-~--~~~~--~~--~--~---



[Rails] upload a image code?

2008-10-31 Thread xxmithila

pls tellme way to upload a file to data base or relevant example code
without using any plugin like act_as_attachment
xxmithila
--~--~-~--~~~---~--~~
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 rubyonrails-talk@googlegroups.com
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
-~--~~~~--~~--~--~---



[Rails] upload a image code?

2008-10-31 Thread xxmithila

pls tellme way to upload a file to data base or relevant example code
without using any plugin like act_as_attachment
xxmithila
--~--~-~--~~~---~--~~
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 rubyonrails-talk@googlegroups.com
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
-~--~~~~--~~--~--~---



[Rails] get data from call back url

2008-10-31 Thread xxmithila

Hi...

I want to get parameters from call back url of my application

ex :-

http://localhost:3000/mail/aa/?hl=ene&zx=gfi1bdfgju6s&shva=1#inbox/11d555fsgw36fd424

as an example these params that attached how can I read when openning
page. I want put those values into Session variable..
help me
thankx
xxmithila
--~--~-~--~~~---~--~~
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 rubyonrails-talk@googlegroups.com
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
-~--~~~~--~~--~--~---



[Rails] retrive data from table

2008-10-30 Thread xxmithila

hi..

   how can I retrive data from a specific row of table by giving two
or more properties of that row?
examlpe I want to get data which   ID = 23  and NAME = "xx" like

thankx
--~--~-~--~~~---~--~~
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 rubyonrails-talk@googlegroups.com
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
-~--~~~~--~~--~--~---



[Rails] read last entry from data base

2008-10-30 Thread xxmithila

Hi..

 I want to read ID of last entered data set from table, are there any
possible ways to it?
help Im stucked.
thankx
--~--~-~--~~~---~--~~
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 rubyonrails-talk@googlegroups.com
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
-~--~~~~--~~--~--~---



[Rails] SQL in rails

2008-10-29 Thread xxmithila

Hi all..

   please give me an example that use SQL in models to handel data in
the data base. with "sql.execute"  or any other possible way..

thankx

--~--~-~--~~~---~--~~
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 rubyonrails-talk@googlegroups.com
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
-~--~~~~--~~--~--~---