similar to: Rails Development Log

Displaying 20 results from an estimated 1000 matches similar to: "Rails Development Log"

2009 Jun 10
1
[PATCH] remove rails2.3 deprecated config.action_view.cache_template_extensions
--- src/config/environments/development.rb | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/config/environments/development.rb b/src/config/environments/development.rb index b3acf68..9bd4fa6 100644 --- a/src/config/environments/development.rb +++ b/src/config/environments/development.rb @@ -33,7 +33,6 @@ config.whiny_nils = true # Show full error reports and disable
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
2006 Feb 15
3
See Rails::Configuration for more options?
In config/environment.rb it states: # See Rails::Configuration for more options See where exactly? I can''t find any docs for it, not at api.rubyonrails.com anyway. Joe -- Posted via http://www.ruby-forum.com/.
2012 Jun 27
0
config.cache_classes true or false in test environment?
Hello, since two days I have problem with a scenario that started to fails with the error that there is a missing link. I narrowed the problem to config/environments/test.rb and config.cache_classes and I change the value now the scenario is passing with config.cache_classes = true. Here is my full test.rb: RbpCm::Application.configure do config.action_mailer.default_url_options = { :host
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.
2008 Apr 30
12
Strange memory issue
Like most, I have a test and a production env. Both are CentOS 5, Ruby 1.8.6, Rails 2.0.2, MySQL 5, and Apache. Both were setup using the same procedure. Except for the hardware (test: Intel, prod: AMD) and memory (test: 512M, prod: 1G), both systems are essentially the same right down to the Rails env. Unfortunately, memory usage is very different for each. The test system has 2 mongrel
2006 Mar 20
24
Newbie Question about Custom Classes
Sorry if this is a complete newbish question, but I''m trying to wrap my head around creating custom classes in my rails webapp. I''m normally a Java developer, but I figured I''d give RoR a try and see how I like it, and whether it would be useful for production use with a new client. Anyways, what are the best practices for custom classes? Where and/or how do I create
2010 Jun 08
1
session_options[:secure] resets session_id on every request
I''m working on an ecommerce site (in Rails 2.3) and I added: ActionController::Base.session_options[:secure] = true to ~/config/environments/production.rb Now, every time I add something to my shopping cart and navigate away I get a new session_id (which essentially empties my shopping cart). How can I get the continuity of my sessions back, while still having the session_id get set
2006 Jun 23
3
Ajax errors in safari
I am implementing some AJAX features into a web forum, and one feature works fine in Firefox and in IE, but it is choking in Safari. Safari will send the request fine and the data will be stored in the DB, but it is not responding correctly to the RJS that is being sent back. Anybody notice issues with Safari parsing the javascript sent back to the browser? -- Timothy Johnson
2006 May 16
7
RJS head scratcher
I''ve been joyfully using RJS in a lot of our work lately, with no issues whatsoever. However, I am porting an application to RJS templates that we''ve had for a while, and having some issues. When I use Firebug to see what is going on, the response comes back like this: try { new Effect.Highlight("gi_error_row",{duration:20}); } catch (e) { alert(''RJS
2009 Jan 22
8
From Instantrails to the Mac
Hi, I am a Newbie to Mac and Rails. I have a rails apps made using instantrails in windows, and have been trying to transfer it to a mac. I am using Leopard and installed mac ports and Xcode. I copied the folder from rails_apps and added all the gems. Anything else I need to do? Any Ideas? Thank you! This is the set of errors that I am getting after starting the server: Exiting
2005 Sep 27
2
caching in development mode
Hi, I created some new models that do not extend ActiveRecord::Base. For some reason, these classes are being cached in development mode. Controllers are not cached, neither are models extending ActiveRecord::Base. Has anyone else seen this? Here are my relevant development.rb settings: Dependencies.mechanism = :load
2012 Jan 16
0
Rails3 logging issue in development.log
I have a rails3 app, i need to log all into development.log, But when i check after the execution, the development.log is empty...How to rectify this problem... *development.rb* * * ApiMofobi::Application.configure do # Settings specified here will take precedence over those in config/application.rb # In the development environment your application''s code is reloaded on #
2006 Apr 25
5
to ajax or not to ajax
before I started building my latest rails app, I made the decision to make good use of ajax. My reasonsing was that users would benefit from the quicker page updates - the application provides various different types of insurance quotes, and has several multi-page forms and reports that can be drilled down 5 or 6 levels deep in some cases - so it seemed like a good candidate for ajax Now
2008 Nov 22
3
Problem upgrading from Rails 2.0.2 to 2.2.2
Hey all, I just upgraded a very simple rails based website from Rails 2.0.2 to 2.2.2. When I started up Mongrel however, I got the following error: ** Starting Rails with development environment... ExitingC:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/initializer.rb:530:in `send'': undefined method `cache_template_extensions='' for ActionView::Base:Class
2006 Aug 01
2
Same <img> is still downloaded for several times in IE
Last time i ask the same question here that if one article item has a default icon in front of its title,the icon will be downloaded as many times as the article items displayed in one page in IE. I was suggested to modify some options under development enviroment,eg: config.cache_classes and config.action_controller.perform_caching in development.rb are both set to true.But the problem still
2006 Jun 25
0
debug output does not show up in the browser window
On the first page of the ror docs under the "Debugging Rails" section, it says "Debugging info will also be shown in the browser on requests from 127.0.0.1." I can not make this work, I only get the wsod in the browser, and all the debug output in the log/development.log file. In my config/environments/development.rb I have the following:
2006 May 06
1
Ajax commenting - PLEASE HELP!!!!
I''m trying to post comments using Ajax. It seems that I have an infinite loop somewhere, because it hangs on the return from the Ajax call. The comment does get saved to the DB, but I have to refresh the page for it to show. The reason I know it''s some sort of infinite loop, is because I''m showing a "loading.gif" image, and it never goes away. Plus, if
2009 Apr 04
11
rake aborted! undefined method `empty?' for nil:NilClass
Hi, I''m getting the next errors, would anyone have any suggestions? Thanks. [~/rails/hip]# rake --trace db:migrate RAILS_ENV="production" (in /home/domain/rails/hip) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `empty?'' for nil:NilClass /usr/lib/ruby/1.8/erb.rb:469:in `scan''
2006 Apr 14
18
RJS Templates & Safari?
Hello, I tried Cody Fauser RJS tutorial (http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates) on my railsplayground dev site and got it to work when using Firefox, but when I tried it on Safari, nothing happens. Then I tried this tutorial - http://rewrite.rickbradley.com/articles/2006/02/06/rjs-templates Similarly, it works fine on Firefox... but with Safari the list is not