similar to: Viewing all Properties and Methods?

Displaying 20 results from an estimated 1100 matches similar to: "Viewing all Properties and Methods?"

2006 Feb 10
3
robots.txt best practices
I''d been ignoring this error message in my log for a while: ActionController::RoutingError (Recognition failed for "/robots.txt"): I had never touched robots.txt. So I decided to make it a proper robots.txtfile I found this great article... http://www.ilovejackdaniels.com/seo/robots-txt-file/ ...where Dave explains the ins and outs of the file. Before I changed mine, I
2006 Feb 23
3
How to query a table from the keypad?
I am trying to give users the option to query our accts. payable database by supplying their PO number. I able to write queries via perl->DBI->mysql but have no idea how to get * to do it from the IVR. Is this possible? Can anyone point me in the right direction for help or examples? Thanks, Richard --------------------------------- What are the most popular cars?
2006 Feb 01
3
SimpleRss: Poorly formatted feed
Based on the suggestions here I decided to use SimpleRSS but no matter what RSS feed I try, I keep getting the error: "Poorly formatted feed" I have tried "well formatted" RSS 0.91, 0.92 and 2.0 feeds but to no avail. Can anyone please come to my rescue? Thanks Frank --------------------------------- Do you Yahoo!? With a free 1 GB,
2006 Feb 20
46
Ruby + Apache Lucene using XMLRPC?
Please excuse me if this has been answered before. Is there a "how-to" guide or a walkthrough on integrating Lucene with ROR via XMLRPC? I got Ferret to work but I am worried that it''s not going to be as scalable. I highly appreciate your assistance. Thanks Frank --------------------------------- Relax. Yahoo! Mail virus
2006 Jan 30
4
How to encode URLs?
How does one encode URLs in ROR? Thanks Frank --------------------------------- Bring words and photos together (easily) with PhotoMail - it''s free and works with Yahoo! Mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060130/60280869/attachment.html
2006 Feb 17
2
Accessing just the body of email in text format?
I am interested in accessing the body of the email in text format using IMAP to receive emails. So far I have tried the following #body = imap.fetch(message_id, "BODY[TEXT]") #body = imap.fetch(message_id, ["BODY[]"])[0].attr[''BODY[]''] But both of the above give me body text + the headers including Content-Type etc. How can I access
2006 Feb 02
19
No more logs after SVN?
Hello, Yesterday I "subversioned" my app using svn and now everything works fine except I don''t see any log entries in development.log? What would cause the log entries to be not produced anymore? Thanks Frank --------------------------------- Bring words and photos together (easily) with PhotoMail - it''s free and works with Yahoo! Mail.
2006 Jan 30
2
:condition not being applied
I am using acts_as_taggable and everything seems to be working except that :condition => "tags_resources.portal_id=#{portal_id}" is not being applied. @resource_pages = Paginator.new self, Resource.find_tagged_with(:any => tag, :condition => "tags_resources.portal_id=#{portal_id}").length, 25, @params[''page'']; @resources
2006 Feb 04
22
What''s the best way to embed a form?
I would like to embed my login form on my app''s home page. What''s the best way to render the login action of member controller from another action? Thanks Frank --------------------------------- Relax. Yahoo! Mail virus scanning helps detect nasty viruses! -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 19
4
Multiple Characters Negate Using Regexp
Dear experts, I am trying to build a regular expression to filter out anything between <script ... > and </script> tags where I can specify something using negate class to exclude more than one character in sequence. I tried: originalresponse.gsub(/<script([^>]+)>([^<]+)?<\/script>/,'''') but obviously if the script has the
2006 Jan 29
1
Why am I getting "undefined local variable or method `acts_as_taggable''"?
Hello, I recently installed acts_as_taggable using the following command: gem install acts_as_taggable # output follows Attempting local installation of ''acts_as_taggable'' Local gem file not found: acts_as_taggable*.gem Attempting remote installation of ''acts_as_taggable'' Updating Gem source index for: http://gems.rubyforge.org Successfully installed
2006 Feb 07
3
Why would @params[:page] >= 2 give an error?
Can anyone please guide me as to what is wrong with the following? if @params[:page] >= 2 @title+=@params[:page] end Thanks Frank --------------------------------- Yahoo! Mail - Helps protect you from nasty viruses. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 06
4
Searching large tables with Rails?
I have a large table (> 20,000 records) with text columns for which I need to build a search function. Is there a "Rails" way to index all the entries and NOT search using LIKE? "LIKE" searches can get very slow and I would rather build an index of the columns to speed up things. Just want to know if there is something like "acts_as_indexable"
2006 Feb 11
6
Rails 1.1?
I have a few very basic questions. Is anyone using rails 1.1? How/Where can I get Rails 1.1 (I don''t see it on RubyonRails.org? What are the issues involved in moving from Rails 1.0 to Rails 1.1? If I move to Rails 1.1, can I downgrade? Just curious. Thank you very much for your assistance. Frank --------------------------------- Yahoo! Mail Use Photomail
2006 Feb 06
35
ROR Recipes Beta
Yesterday I got the beta version of ROR recipes book and the recipes are great. For those of you still thinking about it, I highly recommend the book. The only thing I wish is that if there were some more recipes (greedy me), especially AJAX related and installing an application within your current application. For instance, it will be great to see how one can implement the typo blog
2006 Feb 07
4
Ferret on Rails -- Webrick won''t start?
Hello, I tried using http://ferret.davebalmain.com/trac/wiki/FerretOnRails but Webrick won''t start after implementing the plugin? I tried both versions but to no avail? All I get is Booting up ... and then it dies? No info in log/development.log? Does anyone has a working copy of acts_as_ferret or has any ideas on what''s wrong? I am placing the plugins
2006 Feb 08
2
301 Redirect with Rails
I have been searching for a way to do this but haven''t found anything yet. Can anyone please guide me to a resource or tell me how I would go about doing a 301 (Moved Permanently) redirect using Rails? Thanks Frank --------------------------------- Yahoo! Mail - Helps protect you from nasty viruses. -------------- next part -------------- An HTML attachment was
2006 Feb 18
2
Extracting URL and text from HTML?
For an application I am working on I have to extract URLs and the text used to link. For example, ..... <a href="http://www.rubyonrails.org" title="rails" >Ruby on Rails</a>.... I have been trying all night but cannot come up with the regular expression needed to extract the URLs and the text. I have tried:
2006 Feb 08
10
Sharing sessions between subdomains?
Hello, I know how to share sessions between subdomains in PHP. Can anyone please guide me as to how I can share sessions using Ruby? Where can I set the value of domain for which the cookie is set? I would like for a user to login on the home page and then go to blog.home.com and not have to login again. Any guidance/pointers are appreciated. Thanks''
2006 Feb 09
2
Very weird issue - Function not being recognized in template?
I created a function before going to dinner and placed it in application.rb. Something like: def at_home ... end Then I called it from my .rhtml file like: <% if at_home %> ..... <% end %> The function was working perfectly (I tested it before leaving). When I got back I keep getting undefined local variable or method `at_home'' for