similar to: installing ActionMailer from Rails 3?

Displaying 20 results from an estimated 8000 matches similar to: "installing ActionMailer from Rails 3?"

2010 Apr 11
10
rake db:create uninitialized constant Mysql::Error
I have yet to find a solution for this issue I have tried multiple things that I have found on google, but yet have i found a solution. If someone could help me and point me in the right direction I would be much appreciated. Thanks. rake aborted! uninitialized constant Mysql::Error ** Invoke db:create (first_time) ** Invoke db:load_config (first_time) ** Invoke rails_env (first_time) **
2009 Jan 18
3
ActionMailer and url_for in helper methods
Hi, I was wondering how to get url_for to work inside ActionMailer. I did research on the web but I can''t seem to find something that fits what I need. In my application, each user can specify their custom domain to access their. I have an ActionMailer that sends them notifications of changes that occur. In there, I have a breadcrumbs helper method, which generages something like:
2010 Sep 21
3
Rails 3 deployment on Passenger
I''m trying to move up to Rails 3 and everything is going fine on my workstation where I have installed all of the necessary gems. The problem I''m having is getting it to run on the production server that I have to use where the app needs to be vendored. It''s on a Debian Squeeze box with ruby l.8.7, rubygems 1.3.6, librack-ruby1.9.1, passenger - 2.2.11debi and bundler
2006 Aug 09
3
Can''t update actionmailer gem?
Trying to update actionmailer gem, and it''s complaining about the version of actionpack not being correct. C:\eclipse\workspace>gem update actionmailer Updating installed gems... Attempting remote update of actionmailer Install required dependency actionpack? [Yn] Y ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find actionpack (= 1.12.4) in the repository
2006 Feb 06
6
ActionMailer - ROR Recipes - Multipart/alternative
I am using the SaltedHashLoginGenerator. and would like to send the e-mail in multipart/alternative format. By default my application is using forgot_password_en.rhtml template. I read in the ROR Recipes book "ActionMailer sees these templates, recognizes the pattern in their file names, and automatically sets the MIME type of the message to multipart/alternative and adds
2009 Dec 22
16
Will paginate is missing on rake db:migrate
I have a very annoying problem, when doing rake db:migrate, I get the error message: Missing these required gems: will_paginate ~> 2.3.11 But the gem is not missing, It runs very well in my app. To make the rake pass I have to comment out the gem in my environment.rb file. environment.rb: config.gem "will_paginate", :version => "~> 2.3.11", :source =>
2006 Aug 01
2
actionmailer cant find template in backgroundrb
Im trying to send mails from a backgroundrb worker and it seems like ActionView cant find my template. same code works as a rake task. here my worker: class StatusMailWorker < BackgrounDRb::Rails repeat 1.minutes # <-- hehe! def do_work(args) [...blah...] NotificationMailer.create_daily_report(users, rep, items) end end end its throwing the following error: No
2009 Mar 06
5
ActionMailer Layout on HTML version not Plain Text
I''m sending plain text and html emails by having multiple files for each email I send. For example, for my registration email I have a registration.text.plain.erb file and a registration.text.html.erb file. I want to use a layout for the html version of my emails. In my mailer I put: class AccountsMailer < ActionMailer::Base layout ''email'' ... end
2009 Mar 08
3
Any good tutorial about upgrade ruby to 1.9.1 and with rails 2.3?
Hi there, Just want to upgrade to ruby1.9.1, but some important gems such as mysql, fastthread, mongrel are not compatible with the newest version, anyone has some good tutorial for recommendation? Thanks, chenillen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to
2009 Dec 10
1
ActionMail Charset for email body
Hi Guys, I succeeded in sending email with content-type big5. However, the content of the email is still utf-8! I''ve tried to call the t(:my_sentence).encode(''big5'') or my content, but there is "invalid byte sequence in UTF-8" errors in a lot of places starting from actionmailer/lib/utils.rb (text.to_s.gsub(/\r\n?/, "\n")) and it stop me from
2009 Nov 17
3
gem install rails - errors MAC OSX (snow leopard)
This produced quite a mouthful of text. I''m stuck on the error messages and wondering if I messed something up. Any advice would be very appreciated. Thank you. dust:~ Lex$ gem install rails WARNING: Installing to ~/.gem since /Library/Ruby/Gems/1.8 and /usr/bin aren''t both writable. WARNING: You don''t have /Users/Lex/.gem/ruby/1.8/bin in your PATH, gem executables
2009 Sep 09
5
Newbie question: undefined method 'number_with_delimiter'(probably configuration problem)
Hi all: i am using gem to insall rails 2.3.3 and using $rails myapp to generate my application, but strangely i can''t use the number_helper below is my env: export RUBY_HOME=$HOME/ruby export GEM_HOME=$HOME/gems export RUBYLIB=$RUBY_HOME/lib:$RUBY_HOME/lib/ruby:$RUBY_HOME/lib/ site_ruby/1.8 export PATH=$HOME/gems/bin:$HOME/ruby/bin: and: $ locate number_helper.rb
2008 Jan 18
5
How do I pass form values from POST controller specs?
Hi there I just started my first Merb app and I''m running into some weird things in Specs. When I do: describe "create action" do it "should create a new project" do project_params = {:name => ''bekkunin''} Project.should_receive(:create).with(project_params) controller, action = post(''/projects'', :project
2009 Jul 20
9
rake error
When I run rake test:units I get this error: 292 tests, 350 assertions, 2 failures, 13 errors rake aborted! Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/ usr/loc...] This error just showed up yesterday --- I have no idea how I caused it. Here is my gem list in case that helps: actionmailer (2.3.2, 2.2.2) actionpack (2.3.2, 2.2.2) activerecord (2.3.2, 2.2.2)
2005 Nov 14
6
ActionMailer - Sent but no mail?
Hi, I am attempting to use ActionMailer to send out an email (SMTP) and am having an issue. The log files show that the email is sent, but the email is not making it to my inbox. I have followed the documentation both on the Wiki and in the AWD book. I''m not sure which setting I have incorrect and need some pointers. :authentication - should this be set to true, or
2006 Dec 28
1
ActionMailer/SMTP: Net::SMTPSyntaxError when message body contains only a 'dot'
FYI: I don''t think this is a very well know. It seems that, on some operating systems, ActionMailer/SMTP crashes when it sends an email with only a ''.'' (aka a ''dot'' or a ''period''). Specifically, you get Net::SMTPSyntaxError (502 Error: command not implemented): Environment Details: $ uname -a Linux private1 2.6.15-26-server #1 SMP
2006 Jul 21
2
mongrel, memcache and sessions
Hi, I''m using mongrel-0.3.13.3 with memcache-client-1.0.3 for storing sessions. It was working fine with actionpack-1.12.0, but when I upgraded to actionpack-1.12.3, I started getting a "can''t convert String into Hash" error from memcache.rb from memcache-client. I was able to fix it by changing the way the MemCache object was created in
2006 Apr 20
12
memcache, sessions, fragments, oh my!
Hi all - I am trying to get rails to use memcache for sessions and fragment caching. I''d also like to use the same connection for general caching of this and that. I''m following the instructions here: http://wiki.rubyonrails.com/rails/pages/HowtoChangeSessionStore and hitting a brick wall. I''m using the new memcache-client since from what I''ve read
2009 Dec 05
7
ActionMailer dont function with JRuby?
I have application that i send email normal with native ruby. But when i execute the sample application with jruby, it dont send email and dont get error. What can be wrong? -- Atenciosamente, Paulo Coutinho. Blog: www.prsolucoes.com/blog Site: www.prsolucoes.com Msn: paulo-QE/7f1ia5mR0ubjbjo6WXg@public.gmane.org -- You received this message because you are subscribed to the Google Groups
2009 Sep 12
5
undefined method `^' for "d":String
Hi guys. I''m a freshman on Rails (and Ruby) so I''m sorry if my question is pretty basic, and possible has a vary basic answer. I tried to Google this problem, but a couple of hour after and no solution found, I decided to ask for help here. I have installed ruby 1.9.1p243, Rails 2.3.4, Gem 1.3.5, SQLite version 3.6.18 (I think this is all that it''s needed). I´m reading