similar to: Email Multipart message

Displaying 20 results from an estimated 200 matches similar to: "Email Multipart message"

2006 Feb 03
3
My associations are coming out nil.
I''ve got a fairly simple system with a table for my Users that includes a CountryId field which looks up to the CountryId field of my Country table. What I would like to happen is for my Rails application, which contains models for both User and Country, to be able to draw the dropdown list of available countries on the edit page, like it does in all the tutorials. My model classes look
2006 Jan 30
4
dispatch.cgi Problem
Hey all, I''ve been battling with ruby configurations for days now...trying to get either SCGI or FCGI to work on my Apache 1.3/Linux Red Hat 3 server. I''ve pretty much gave up that battle since either of them will work with me after trying dozens of configurations, but now even when I try to run apps with dispatch.cgi I get this error in my log: "Premature end of
2006 Jan 15
7
Dreaded Internal 500 Error on DreamHost.
Hey guys, I often get this problem the first time I try to deploy a rails app on dreamhost and I''m not sure what the cause is. Basically, I have an app that''s running fine on my local machine. I''ve uploaded the app, configured and migrated to the latest version of the db, and set all of the necessary directories to 755. But when I run dispatch.rb in ssh or
2006 May 19
1
LoadError - no such file to load -- pathname (Dreamhost)
I''ve started getting the following error on Dreamhost when trying to run any scripts or dispatch.* [barry]$ ruby -d script/server Exception `LoadError'' at ./script/../config/boot.rb:6 - no such file to load -- pathname ./script/../config/boot.rb:6:in `require'': no such file to load -- pathname (LoadError) from ./script/../config/boot.rb:6 from
2006 Feb 25
2
ActionFaxer?
Hi, I would like to use ActionMailer to send and email but I also want to send a copy of the email as a Fax. Is this possible? Thanks, Peter
2006 Feb 21
3
HABTM :insert_sql help
Hi all, I''m working with a legacy sqlserver db and I''m trying to override the insert sql in as defined in the HABTM method below(becasue the join has three primary keys), but I''m getting the error: ''undefined local variable or method `record'' for Project:Class'' has_and_belongs_to_many :people, :class => ''Person'',
2005 Dec 30
2
rails running very slowly on apache (with fcgi or without)
Was wondering if there is anything obvious I may have missed in my setup that would cause it to run so slowly. WEBrick runs blazingly fast in comparison, in dev mode, so I''m sure there''s something off. Even in production mode requests take about 4 or 5 secs. Thanks! Win XP Apache 2 Rails 1.0 -rich
2005 Dec 22
3
help with unless
Hi, I need a fresh set of eyes to look at this bit of controller code and tell me why I might be getting an error message: lookup = Profit.find(:all, :conditions => [ "user_id = ? AND product_id = ?", uid, pid]) unless lookup.empty? if (lookup.updated_on > 360.minutes.ago) return end end If lookup is empty, then I
2006 Jan 25
38
Rails app won''t run on Dreamhost - "incomplet headers" error
Can anyone provide some expert debugging help here? What''s the first step to take to see what the issue is here? I have no errors in the rails app''s log files. The only errors I have are those provided by apache and they are: ''FastCGI: Incomplete headers (0) bytes received from server'' I''ve tried editing the shebang line, removing line feeds, but
2006 Apr 14
3
Rails deployment
Hi all, I''ve greated a rails application and i want to deploy it right now. I have to use a windows 2003 server.. So i installed i''ve used the following tutorial: http://wiki.rubyonrails.com/rails/pages/RailsOnWindows My application is running at : http://loc.iwsweb.nl But everytime i connect it opens a ruby process but at the end it won''t kill it. As you can see
2006 Apr 26
0
active record adding odd chars to insert statement
I''ve got some code that creates a Company object and saves it: c = Company.new( :name => params[''company''], :account_valid_until => mysql_date_format(14.days.from_now), :account_type => ''standard'' ) c.save but in the SQL generated by AR, I see (with ''name'' being what was entered): ''--- \n-
2006 Mar 18
4
new user.presentation
Hi, I''m creating an RoR application right now and i''ve got the following question: An user has one presentation. So i''ve got an user table and in that table is an field fkPresentationID. Now i want to create an new user and at the same moment an new presentation for that user. I thought it would work with something like this, but it didn''t work. @user =
2006 Dec 21
1
dealing with multipart forms in a Mongrel::HttpHandler
Hi everyone, Is there an easy way to parse multipart form requests from within a Mongrel::HttpHandler subclass or do I need to break out RFC 2388 and a bunch of regexps? Thanks, Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20061221/9e756aa8/attachment.html
2006 May 04
0
Passing _session_id with multipart forms
The Macromedia Flash 8 FileReference.upload() function uploads files by sending a multipart POST request to the server. Unfortunately, there is a bug that prevents Firefox cookies from being sent along with the request, so a different Session is created. I''m having my Flash code use ExternalInterface to call a Javascript function on the page with the Flash movie. The JS function
2006 May 14
0
form_for and Multipart - Syntax?
I am trying to get into the habit of using form_for in my new applications but I can''t seem to figure out how to get it to make my form use multipart encoding. I''ve tried adding :multipart => true in various spots to no avail. The source reads like Greek to me. Can someone help out with the correct syntax, it''s not in the doco. Thanks.
2006 May 23
0
Does TMail support Nested Multipart Messages?
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: sample Type: application/octet-stream Size: 6906 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060523/c0e8fd84/sample.obj
2006 May 30
0
Fixing PUT to work with multipart messages
We recently wrote our API to be fully REST, and so user PUT for updates. The problem is, we need multipart requests, but there''s a bug in CGI, and it doesn''t work. The rails code as a fix for POST requests, but not for PUT requests. So we added PUT as well and it works great now. I posted this as a patch in trac (http://dev.rubyonrails.org/ticket/5235) so you can get it if you
2006 Apr 12
0
StringIO - getting filename for multipart form uploads?
All, When using multipart forms, sometimes the files come into the controller as StringIO objects. I assume that by the time I get a StringIO object, I can''t get the name of the file the way that I might be able to using File.original_filename, correct? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Mar 06
0
fastcgi upload - multipart problem
Hi, I''ve got multipart request with 1 file upload form problem. I''m using suse 10 basic installation : -ruby 1.8.2, -rubyfcgi 0.8.6-5, -apache 2.0.54, -apache2-mod_fastcgi-2.4.2-4 When starting whith webrick, my application uploads files correctly.When using both cgi or fastcgi, browser runs forever with files greater than 5kb. fastcgi
2006 Mar 18
0
implicit template naming for multipart/alternative emails
Hello, I''ve been using edge rails for a while now and used the recipe from the new recipes book on using implicit file names for multipart/alternative messages. This seems to have recently broke. I''ve named by templates according to the book and the docs... # for example, if the following templates existed: # * signup_notification.text.plain.rhtml # *