[Rails] google graphs with searchlogic.

2009-06-05 Thread Intern ruby
Hello, I am having issues while integrating Searchlogic with google graphs for dynamic search conditions. Please help. Thanks. Yati -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[Rails] has_many through association

2009-05-07 Thread Intern ruby
1) class Group ActiveRecord::Base has_many :group_users has_many :users, :through = :group_users end 2)class User ActiveRecord::Base has_many :group_users has_many :groups, :through = :group_users end 3))class CreateGroupUsers ActiveRecord::Migration # JOINING TABLE

[Rails] Re: has_many through association

2009-05-07 Thread Intern ruby
thanks Chron and Tom. It worked. -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ 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

[Rails] Call Javascript

2009-04-06 Thread Intern ruby
I have following code. I have included the javascript file at the top of page. Still it is giving errors CODE: p %= f.label :content %br / %= f.text_area :content, {onkeyup=strcount(1);chngcnt(1); onkeydown=chngcnt(1); onblur=chngcnt(1); onfocus=chngcnt(1);} % /p ERROR: compile error

[Rails] Re: Call Javascript

2009-04-06 Thread Intern ruby
Solved. %= f.label :content %br / %= f.text_area :content, :id=message1,:onkeyup=strcount(1);chngcnt(1); ,:onkeydown=chngcnt(1); ,:onblur=chngcnt(1);, :onfocus=chngcnt(1); % /p Thanks. -- Posted via http://www.ruby-forum.com/.

[Rails] Ajax not defined.

2009-03-23 Thread Intern ruby
This is my code and I am trying to call remote function when somebody click on add button after selecting something from select_tag. Please tell me where I am wrong ? I am getting following error: Ajax not defined. input type=button value= Add class=button onclick=%= remote_function(:url =

[Rails] Sending emails on user specific scheduled times

2009-03-20 Thread Intern ruby
Hello, I am building an application in which I have to send recurring emails and I am using actionmailer to send one time emails and it is working fine. Now, I need to set up user specific dates/time and mails should be send at those times. Does any body have any idea of how should I do it ? I

[Rails] Re: ActionController : Exception caught

2009-03-09 Thread Intern ruby
hey Bill, My index page is still not getting displayed. Please have a look on the code. I am getting default page of Ruby server getting displayed. Pls help. I will appreciate that. Thanks. Attachments: http://www.ruby-forum.com/attachment/3415/testday3.zip -- Posted via

[Rails] Re: ActionController : Exception caught

2009-03-07 Thread Intern ruby
Thanks Bill for your reply. Yes, I am new to ROR. Please tell me where am I wrong. I have attached code. Thanks, Yati Attachments: http://www.ruby-forum.com/attachment/3405/testday2.zip -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You