[Rails] Re: How to print a page using RJS

2009-06-04 Thread Manisha Tripathy
Ok but in that case , I think we will not be using rjs file. right? Can you just explain a bit more please. Rakoth wrote: > Hi, Manisha Tripathy. > > You can solve this problem by creating special css for printer, > > <%= stylesheet_link_tag "print_style", :med

[Rails] How to print a page using RJS

2009-06-04 Thread Manisha Tripathy
Hello everyone, I am trying to add an option to print my view, i.e the display webpage in my Rails application.At present I am using HTML DOM for that but I want to do that in ruby.Following some online tutorials, I am trying to use rjs for that. the codes are some thing like this # view.rhtml

[Rails] Need help to add auto_complete in Rails with Solr

2009-04-28 Thread Manisha Tripathy
I am working on a Rails project that needs to add auto_complete feature. My rail application is also using Solr for text searching. I know that plugin auto_complete can be used in the rails application to add the function and also there are analyzers to add the same functionality to Solr. Now my p

[Rails] XML::Parser#string is deprecated : Getting too many warnings

2009-02-11 Thread Manisha Tripathy
Hi , I am doing XML parsing to get data from xml documents inside a Rails project. I get my job done but there are too many warnings in between.I dont understand how can i avoid this. the error warnings are : warning: Passing no parameters to XML::Parser.new is deprecated. Pass an instance of X

[Rails] Re: Help needed in rails project

2009-02-09 Thread Manisha Tripathy
ixelate.com/2007/12/13/actionwebservice-with-rails-2-0 > http://railsguts.com/initialization.html > http://www.benjaminbooth.com/tableorbooth/2006/11/rails_and_load_.html > > > Manisha Tripathy escribió: -- Posted via http://www.ruby-forum.com/. --~--~-~--~~--

[Rails] Re: Help needed in rails project

2009-02-09 Thread Manisha Tripathy
No its not working yet, can you please give an example how this line should be? Dont mind, I am not very competent, just learning . :( so may be missing something Manisha Tripathy wrote: > ok I am trying again > > Juan José Vidal wrote: >> You must put your path in this line...

[Rails] Re: Help needed in rails project

2009-02-09 Thread Manisha Tripathy
ok I am trying again Juan José Vidal wrote: > You must put your path in this line... > > Manisha Tripathy escribió: -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[Rails] Re: Help needed in rails project

2009-02-09 Thread Manisha Tripathy
still its not working. :(( Juan José Vidal wrote: > Obviously. > > Manisha Tripathy escribió: -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby

[Rails] Re: mysql install problem

2009-02-09 Thread Manisha Tripathy
Have you installed mysql-client? -- 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 rubyonrails-talk@googleg

[Rails] Re: Help needed in rails project

2009-02-09 Thread Manisha Tripathy
yes, do I need to uncomment it? Juan José Vidal wrote: > See this line in your config/environment.rb > > # Add additional load paths for your own custom dirs > # config.load_paths += %W( #{RAILS_ROOT}/extras ) > > > Manisha Tripathy escribió: -- Posted via http

[Rails] Help needed in rails project

2009-02-09 Thread Manisha Tripathy
Hi friends, I need to create some additional ruby files for some other functions inside a rails project. So I created another folder and put those files inside it.In this case one file needs to call the classes in other files, so I used require 'filename' My files run well when I put them in a

[Rails] Need help : Rails app unable to connect to Solr server

2008-12-24 Thread Manisha Tripathy
Hi, I am trying to integrate solr in ruby on rails application.For that i am using the plugin acts_as_solr and gem solr-ruby. My solr server starts successfully with command $ rake solr:start But when I try to add data from $ script/console , it says that it cannot connect to solr server at t

[Rails] Need help : Rails app unable to connect to Solr server Opti

2008-12-24 Thread Manisha Tripathy
Hi, I am trying to integrate solr in ruby on rails application.For that i am using the plugin acts_as_solr and gem solr-ruby. My solr server starts successfully with command $ rake solr:start But when I try to add data from $ script/console , it says that it cannot connect to solr server at t

[Rails] Problem with rake solr:start

2008-12-24 Thread Manisha Tripathy
Hi, I am trying to use solr in a rails application.This is my first experience with both Ruby on rails and solr.I I am following the documents available on net, but ,noe is completely satifactory.So I dont have a goood understanding of everything.I have installed the solr-ruby gem and plugin act

[Rails] Re: NoMethodError in Book#show_subjects

2008-12-23 Thread Manisha Tripathy
Thanks a lot Patrick, it works now!!! thanks a lot. Patrick Doyle wrote: >> end >> > I don't know if this is a typo in your post or not, but your > #show_subjects > method sets the "@subjects" (note the plural) instance variable whereas > your > view references the "@subject" (note -- singul

[Rails] NoMethodError in Book#show_subjects

2008-12-23 Thread Manisha Tripathy
Hi, I am quite new to ROR.I am trying to create a rails simple application that has informations about Books and Subjects.Srangely, I finished creating a basic application, and it worked fine. But then , I just tried to add some more values in the database, and faced problem with migration, that