similar to: configuration.frameworks

Displaying 20 results from an estimated 70000 matches similar to: "configuration.frameworks"

2008 Oct 17
1
ActionMailer template gets nil param from non-nil deliver_
Rails 1.2.6 ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0] =Summary: I pass a non-nil parameter to an ActionMailer class''s deliver_* method. The corresponding * instance method for the ActionMailer gets a nil instead. Disaster ensues. Will someone please tell me what I''m doing wrong? =Details: I have an ActionMailer::Base class with the following template
2005 Dec 09
0
Default Logger -> Database log
Hi listers, I''m trying to save my log entries in the database using the following technique : http://wiki.rubyonrails.com/rails/pages/DatabaseLoggerWish I''ve added the following code to the Environment.rb : ---------------------------------------------------------------------------- begin RAILS_DEFAULT_LOGGER = DBErrorLogger.new() rescue StandardError
2006 Jun 16
0
rake spec controller test output hideus.
Is there any way to change the output of rake spec fails? The errors are just totally over the top ugly and not helpful. First of all the ruby -Ilib line always comes before each test and I find it distracting. But if an error occurs on something that is not nil it just gives me the entire contents of that object and that is no small matter when the object is a HTTP request response. Here is
2006 Feb 16
3
rescue_action_in_public question
I''m using the rescue_action_in_public example from the Agile book to handle errors and email serious ones to me. In my application.rb controller: def rescue_action_in_public(exception) logger.error("rescue_action_in_public executed") case exception when ActiveRecord::RecordNotFound, ActionController::RoutingError, ActionController::UnknownAction
2006 Jan 09
1
testing UrlHelper in ActionMailer
Hi All, So I found a helpful web page that explained how I could use things like url_for in my mails: http://wiki.rubyonrails.com/rails/pages/HowtoUseUrlHelpersWithActionMailer However, I can''t test them properly. The problem is that when I create a controller in my unit tests and pass it into the ActionMailer, it''s not a real controller, set up as a controller is when it is
2007 Jan 10
3
Rails 1.2.0 RC2 has 4125 duplicate lines
I have been evaluating the excellent and super fast Similarity Analyser by Red Hill Consulting to generate a dupplicated lines reports from Rails 1.2.0 RC2 source code (excluding the tests). On the 10th of January 2007, Rails 1.2.0 RC2 has 4125 duplicate lines in 793 blocks in 231 files * actionmailer has 584 duplicate lines in 107 blocks in 20 files * actionpack has 718 duplicate lines
2007 Jan 20
0
actionrecord gem update produces Zlib::BufError
OS = MS-WinXPproSP2 with hotfixes up to date Dialogue: ---> C:\>gem update Updating installed gems... Bulk updating Gem source index for: http://gems.rubyforge.org Attempting remote update of actionmailer Install required dependency actionpack? [Yn] y Successfully installed actionmailer-1.3.1 Successfully installed actionpack-1.13.1 Installing ri documentation for actionmailer-1.3.1...
2006 Jun 13
0
ActionMailer: bug or not a bug?
I ran across this when trying to use ActionMailer separately from rails: [09:38 AM] [bmoyles@bmoyles-mac] ~/tmp $ cat foo.rb #!/usr/bin/env ruby require ''logger'' logger = Logger.new(STDOUT) logger.info ''Testing-1-2-3'' [09:38 AM] [bmoyles@bmoyles-mac] ~/tmp $ ./foo.rb I, [2006-06-13T09:38:26.171334 #11749] INFO -- : Testing-1-2-3 [09:38 AM]
2007 Jan 10
0
Duplicate lines in Rails 1.2rc2 reports
I tried to send the following message to the http://groups.google.com/group/rubyonrails-talk mailing list 4 hours ago but it never appears … Is there a moderator in the list to prevent spammers? I have been evaluating the excellent and super fast Similarity Analyser by Red Hill Consulting to generate a dupplicated lines reports from Rails 1.2.0 RC2 source code (excluding the tests). On the 10th of
2006 Jan 17
1
Rails too Active?
I feel the need to protest about a disturbing trend in the vibrant RoR community - name dilution. ActiveRecord is called that precisely because it is that. The name come from Martin Fowler, and it expresses a class which is a database record, only _active_ - that is with methods & behaviors (unlike a classical database record, which is completely passive.) If you look in the
2008 Mar 25
0
ActionMailer and Sender validation frameworks ( DKIM or SPF )
What''s the directors'' take on ading DKIM or SPF functionality into ActionMailer. Is that a function that is better addressed via a plugin, or would an extension or a monkeypatch of this class be an appropriate avenue of pursuit? Steven --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on
2006 Nov 08
0
routing error does not get caught by rescue_action_in_public
I have this in my application controller. def rescue_action_in_public(exception) logger.error("rescue_action_in_public executed") case exception when ActiveRecord::RecordNotFound, ::ActionController::UnknownAction, ::ActionController::RoutingError logger.warn("rendering 404 page") render(:file =>
2006 May 26
1
access a ActionControllers protected method from plugin?
I can''t belive I fit that in as the subject! I''m writing a plugin that will allow me to grab some text from a database and call the render method from ActionController on part of the text. I can''t seem to figure out how to access the render method of ActionController::Base. I keep getting the "uninitialized constant Execute" error. How can I do this?
2008 Jun 14
0
does BackgrounDRB not "know" the rails environment it is running within/in parallel with?]
Hi, it probably is a noob question but I''m confused by this error message: active_support/dependencies.rb:478:in `const_missing'': uninitialized constant Invoice::ApplicationController Situation: I have an InvoicesController with a create method that in turn calls upon a MiddleMan.worker(:billing_worker), which in turn finds an Invoice and calls upon @invoice.print_invoice
2008 Apr 11
1
Net::SMTPSyntaxError
Hey guys, I want to send an email via ROR and I have put this code at the very end in the config/environment.rb file- ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.perform_deliveries = true ActionMailer::Base.logger = nil ActionMailer::Base.raise_delivery_errors = true ActionMailer::Base.smtp_settings = { :address => "[my smtp server]", :port => 25, :domain
2013 Jan 14
0
ActionMailer helper :all
The problem is: ActionMailer doesn''t include view helpers by default, and helper :all makes it to look for all_helper.rb Similar issue was discussed before: https://rails.lighthouseapp.com/projects/8994/tickets/3945-helper-all-on-by-default https://github.com/rails/rails/issues/928 https://github.com/rails/rails/issues/1582 Steve Klabnik told me to post here:
2006 Dec 29
1
ActionMailer view overwriting ActionController view?
Hi All, Accidentally posted this in comp.lang.ruby, now trying again in hopefully the right place: I''m having a bizarre problem. I have a page that let''s you share a link from the current page with other users. You can share with other users of the site (by selecting them from your list of friends) or arbitrary users by entering e-mail addresses. In both scenarios the site
2006 Mar 02
3
reloadable classes for other base classes than the built-ins
I''m working on the plugin for RBatis and a new little thing I''m toying around with called ActiveMessaging (sorry, David I stole the name from you from the TW AwayDay ;-)). Anyway, in both these applications I want to be able to have reloadable classes that don''t extend any of the standard built in ones. So, I don''t mean to offend the Eminent Core Members by
2008 May 03
2
backgroundrb / actionmailer / sendmail
Hello, I''m trying to send emails from a backgroundrb worker and the email doesn''t send. I get no log messages in the sendmail log or the system log, nothing in the backgroundrb logs at all, nothing in the production log. Below is my code for each component worker: class QuizReviewerWorker < BackgrounDRb::MetaWorker set_worker_name :quiz_review_sender def create(args =
2012 Jul 23
4
uninitialized constant ActionController::Flash::FlashHash [NameError])
My application, a very simple general ledger, that worked very well until June 26 does not work any longer. It is used under Ubuntu 12.04 and I believe there was a Ruby update after that. What happens? When I try to start the appIication I get the following output in my web browser: ActionDispatch::Session::SessionRestoreError Session contains objects whose class definition isn''t