search for: hcdggtzh8xnbdgjk7y7tuq

Displaying 20 results from an estimated 38 matches for "hcdggtzh8xnbdgjk7y7tuq".

2013 Jun 18
1
Getting rspec error: Net::SMTPServerBusy: Relay access denied
I''m trying to test registration emails (sent with devise), and I keep getting the error: Net::SMTPServerBusy: 454 4.7.1 <model_spec-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>: Relay access denied I''m running Rails 3.2.11 with Capybara, and I have (temporarily) chopped my spec_helper.rb and test.rb files down to the bare minimum, still getting the error above. spec_helper.rb: require ''rubygems'' require ''spork'...
2006 Dec 28
1
ActionMailer/SMTP: Net::SMTPSyntaxError when message body contains only a 'dot'
...t Details: $ uname -a Linux private1 2.6.15-26-server #1 SMP Thu Aug 3 04:09:15 UTC 2006 i686 GNU/Linux $ ruby --version ruby 1.8.4 (2005-12-24) [i686-linux] $ rails --version Rails 1.1.6 Email Sending Details (example.com used in place of real data): Sent mail: From: "Example User (joe-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org)" <noreply-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org> Reply-To: joe-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org To: info-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org Subject: test with a ''.'' in the message Content-Type: text/plain; charset=utf-8 . Net::SMTPSynt...
2009 Jul 30
0
Problem with implicit multipart emails using ActionMailer in Rails 2.3.3
...39;'s sending two text/plain parts. Simplified details: Here''s my model: class Notifications < ActionMailer::Base def confirmation(sent_at = Time.now) @subject = ''Thank you for registering'' @body = {} @recipients = ''test.recipient-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org'' @from = ''test.sender-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org'' @sent_on = sent_at @headers = {} end end I have two views called confirmation.text.plain.erb and confirmation.text.html.erb In a unit test, for debug purposes, I ha...
2010 Aug 10
3
ActiveRecord::UnknownAttributeError: unknown attribute: <script type
...e seen this happening to their apps? I''m starting to get errors like this come across from one of my apps: ActiveRecord::UnknownAttributeError: unknown attribute: <script type The parameters being sent are: {"user"=> {"email_confirmation"=>"someone-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org", "wants_new_message_notifications"=>"1", "is_admin"=>"0", "<script type"=>"=MyLastName", "first_name"=>"MyFirstName", "email"=>"someone-hcDgGtZH8xNB...
2013 Nov 06
5
Is it possible with Rails to interact with SVN Server and/or the server's shell?
Hello! I''m fairly new to Ruby and Rails, and currently I don''t have any knowledge on interacting with the server''s shell or a SVN server, but now I have to develop an app where admins allow/restrict access to files and folders from the app and some sort of version control of the files is need so I thought, to install a SVN server also and from the app allow users to
2005 Mar 29
0
ActionMailer tmail/quoting.rb problem
...set = "iso-2022-jp" @@encode_subject = false # and set Ruby option -Ks (Kcode is SJIS). # uses Base64 encoding (default in TMail). def invoice(sent_on = Time.now, options = {}) @subject = "in Japanese ..." @body = options @recipients = ''rcpt-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org'' @from = ''from-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org'' @sent_on = sent_on @headers = {} end end * views/notifications/invoice.rhtml: <%= @topic.content %> Thanks, ---- Kazuhiro Yoshida moriq-g2rar0VqK2oAvxtiuMwx3w@publ...
2009 Jan 13
0
optional authentication and HTTP Basic
...uthentication, and showed pared-down content to unauthenticated users. I then layered on HTTP Basic authentication using authenticate_with_http_basic, which worked fine for scripts like LWP/ wget/curl. However, some web browsers refuse to submit credentials in the URL (eg. http://username:password-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org) since they never get a challenge (401) response, since authentication is purely optional. This is a bigger problem than one might expect, since there''s a desktop client in development that requires the ability to login with HTTP Basic URL auth. They way I hacked around i...
2011 May 03
1
syntax error, unexpected $end, expecting rASSOC
I added this to my db/seeds.rb: user = User.create :email => ''another-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org'', "password => ''guessit'' Category.create [{:name => ''Programming''}, {:name => ''Event''}, {:name => ''Travel''}, {:name => ''Music''}, {:name...
2011 Oct 19
0
Email Anonymization
I''m working on an email anonymization feature for my rails app (kind of like craigslist). I''ve configured postfix to pipe all emails addressed to user-*@example.com (i.e. user-1234-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org, where 1234 is the user id in the database) into rails via the mailer''s receive method. Now, the idea is to first check that the sender''s email address is in the database (if not: return), then anonymize/mask it; so if jdoe-/K3FCmxHHlvQT0dZR+AlfA@public.gmane.o...
2012 Mar 14
0
How do I create a new object in testing to test a controller?
...else flash.now[:notice] = "it does not exist" end render :new end This is my functional test: require ''test_helper'' class SessionsControllerTest < ActionController::TestCase test "object creation" do user = User.create!(email: "user-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org", password: "secret") assert user.valid? # make sure User.new is correct assert user.persisted? # make sure it''s persisted post :create, post: { email: "user-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org" } assert_equal "ok, it ex...
2012 Feb 14
6
SMTP problem.
Hey all, well I am trying to send emails to newly created users but I have a problem. In the rails log it states that the email has been sent but the email is never actually received so obviously there is a problem. I have noticed one in particular and I don''t understand how to fix it. Once I create the user I get the following error message: Net::SMTPAuthenticationError (535-5.7.1
2010 Mar 04
5
has anybody made actionmailer work with rails 2.3.5?
Hi, I have wasted few days and I''m not getting anywhere. I was trying to follow tutorial on Rails Guides and this one: http://www.tutorialspoint.com/ruby-on-rails/rails-send-email.htm . All I need is to be able to send some text, nothing fancy. Why in Rails it has to be so difficult? Why it can''t be so simple as in PHP? Can anybody point me to some good simple tutorial,
2011 Jul 19
0
Ruby on Rails Tutorial Chapter 8 Signup Success
...user show page Failure/Error: response.should redirect_to(user_path(assigns(:user))) ActionController::RoutingError: No route matches {:action=>"show", :controller=>"users", :id=>#<User id: nil, name: "New User", email: "user-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org", created_at: nil, updated_at: nil, encrypted_password: nil, salt: nil>} # ./spec/controllers/users_controller_spec.rb:102:in `block (4 levels) in <top (required)>'' The test specs are as follows: describe "success" do before (:...
2011 Mar 04
1
How to modify the template path for ActionMailer used in a Ruby script ?
...ne.org").deliver is raising an exception : exception: Missing template notifier/joinus_email with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html], :locale=>[:en]} in view paths notifier.rb class Notifier < ActionMailer::Base default :from => "system-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org" def joinus_email(destination, coupon) @url = "http://example.com" mail(:template_path => ''notifications'', :to => destination, :subject => "Welcome") do |format| format.html format.text end...
2008 Sep 12
1
restful_authentication rspec failures "Mysql::Error: Incorrect datetime value:"
...#39;'2008-09-12 21:22:52'', ''6165929d552bca405be2db0bb538613c8bad7b08'', ''2008-09-13 21:22:52 UTC'', 1, ''77de68daecd823babbb58edb1c8e14d7106e83bb'', ''quentin'', ''2008-09-07 21:22:51'', ''quentin-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org'') --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To uns...
2013 May 02
1
trouble-with-capybara-and-rspec-on-a-new-model-spec
...ompany" fill_in "Contact name", with: "Mailer Contact" fill_in "Address", with: "Mailer Address" fill_in "Telephone", with: "123-456-789" fill_in "Email", with: "mailer-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org" fill_in "Description", with: "something to say" end it "should send a mail" do expect { click_button submit}.to change(Mailer, :count).by(1) end end end end And the form: <% provide(:title...
2009 Jan 26
0
XMPP4R and Openfire
My app sends IM with XMPP4R with Jabber accounts perfectly with this code, but when I want to use an Openfire problem I get an error of authorization jid = Jabber::JID.new(''myuser-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org'') @client = Jabber::Client.new(jid) @client.connect @client.auth(''xxxxxx'') The error: /Library/Ruby/Gems/1.8/gems/xmpp4r-0.4/lib/xmpp4r/client.rb:116:in `auth'': not-authorized (Jabber::ClientAuthenticationFailure) ... I didn'...
2010 Apr 05
1
`test': wrong number of arguments (1 for 2) (ArgumentError)
...allow signup" do assert_difference ''Account.count'' do create_account assert_response :redirect end end protected def create_account(options = {}) post :create, :account => { :name => ''who'', :email => ''who-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org'', :password => ''who'', :password_confirmation => ''who'' }.merge(options) end end Am I missing something here? Im running Rails 2.1.0 . -- You received this message because you are subscribed to the Google Groups &quot...
2010 Sep 01
1
Faking Paperclip has_attached_file with Factory girl?
...s possible to simulate Paperclip''s has_attached_file with Factory Girl and then test it with Rspec. I don''t get it to work. My factories.rb file looks like this: Factory.define :user do |user| user.name "Anders" user.email "user-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org" user.password "foobar" user.password_confirmation "foobar" user.avatar_file_name "avatar" end My Rspec test (users_controller_spec.rb) looks like this: it "should have a profile image" do get :show, :id =>...
2010 Oct 15
0
AssociationTypeMismatch / Model Caching in development envirnment
...9.2p0 and Rails 3.0.1 on OS X 10.6.4. You can download the code that I''m trying to work on at http://github.com/downloads/ccjr/blog/chapter08.zip (I''m trying to work through this Apress book). When you load up the page, you need to log in to edit, and the login is ''mary-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org'' : ''guessit''. Any pointers or ideas? -- 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-/...