search for: softwareengineer99

Displaying 20 results from an estimated 50 matches for "softwareengineer99".

Did you mean: softwareengineer
2006 Mar 18
3
Weird stylesheet_link_tag issue after moving servers
Dear experts, I am in the process of switching servers for my application. Before the move everything was working properly. After the move <%= stylesheet_link_tag ''/stylesheets/styles.css'' %> generates <link href="//stylesheets/styles.css" media="screen" rel="Stylesheet" type="text/css" />
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 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 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 Mar 19
2
After Migration dispatch.fcgi not doing its job? Keep gettting the home page
I recently migrated a Rails application. After migration no matter what URL I access within the application, I keep getting the home page. so http://domain.com shows the home page. and so does http://domain.com/blog and also http://domain.com/some/other/url I have routes.rb properly set up (it was working on the old server). I am using RHEL 4 ES with Apache 2 and Fast CGI.
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 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 Feb 01
4
Viewing all Properties and Methods?
Hello, How can I see all the properties (member variables) and methods (functions) that are available for an object? Is there a function similar to PHP''s var_dump in MySQL? Many thanks for your assistance. Frank --------------------------------- What are the most popular cars? Find out at Yahoo! Autos -------------- next part -------------- An HTML attachment
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 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 Mar 01
1
Typo in a sub directory
Hello experts, I have a rails project at http://domain.com I would like to install typo at http://domain.com/blog Is this possible? I have gotten it installed and using mod_rewrite I can get to the home page. My mod_rewrite takes everything after blog/ in the url and passes it to typo. The issue I am having is that all Typo assets are relative and they use link like:
2006 Feb 04
1
Issues with sending HTML email
Hello, I am using the SaltedLoginGenerator. Everything is working fine except the e-mail is being sent out as text instead of text/html. I have tried changing the Content-Type to text/html but to no avail. I even tried changing the Content-Type in tmail/facade.rb but it didn''t help. What am I missing? How can I get ROR to send a HTML email. Thanks Frank
2006 Feb 06
1
Intermittent "Application Failed to start" errors
In my project everything is working fine except from time to time I keep getting the error: "Application failed to start". After refreshing, the error goes away. Why I am getting this error and what''s the best way to avoid it? Thanks Frank P.S. I am using Apache 2 with dispatcher.fcgi on RHEL 3 --------------------------------- Relax. Yahoo! Mail virus
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 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
1
habtm :uniq causing duplicate inserts? How to update Rails?
Hello *Gem* experts, Sorry for asking multiple questions in one post but they are both related to one problem. So far I have the following code: class Member < ActiveRecord::Base has_and_belongs_to_many :blogs, :uniq=>true ..... end class Blog < ActiveRecord::Base has_and_belongs_to_many :members, :uniq=>true ... end The issue is that
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 Mar 24
1
To Open Source Or Not To Open Source?
I have been receviving a lot of feedback on Adoppt.com and based on the feedback, I have one question: Should I open source my project? What are benefits / drawbacks? Adoppt employs many principles that I have learned over the years. Alongwith my upcoming Pro Rails book, it will be something nice to give back to the community. So far I think I would like to Open Source the