similar to: How does controller call render when there's no render in action

Displaying 20 results from an estimated 100 matches similar to: "How does controller call render when there's no render in action"

2008 Jan 19
0
[CruiseControl] RubyOnRails build 8671 failed
The build failed. CHANGES ------- Revision 8671 committed by bitsweat on 2008-01-19 03:45:24 Support aggregations in finder conditions. Closes #10572. M /trunk/activerecord/test/cases/finder_test.rb M /trunk/activerecord/CHANGELOG M /trunk/activerecord/lib/active_record/aggregations.rb M /trunk/activerecord/lib/active_record/base.rb TEST FAILURES AND ERRORS -----------------------
2005 Dec 20
0
ArgumentError in Main#index, weirdness.
Hello, I am very new to ruby on rails so any help would be greatly appreciated, sorry if I don''t include enough useful information as I am unsure what will be needed to help with this error. I am using ruby 1.8.3 on debian "testing" along with lightttpd and fastcgi. I have a controller called "main" as you can see in the error output, and when trying to load the
2011 Aug 15
2
respond_with with templates and http status when creating an object
Hi. When you use respond_with in a controller #create method and want to render XML the response gets the http status 201 (Created). But if you use a view to render this XML response_with uses the status 200 (Ok), for example when you use the gem rabl. I cannot determine if this matter is related to Rails or rabl. If it''s from Rails, is there a particular reason for this behavior?
2006 Aug 14
0
ActionMailer in an infinite loop? Looks like framework bug.
I would rather post this on the dev list since it looks like only the developers can explain why this is failing. However, I can''t find where you subscribe to it! Any ideas? Here is my problem. Whenever I try to send an email I get a SystemStackError saying stack level too deep. Here is the exception trace:
2006 Jan 10
0
Error: "wrong number of arguments" in initialize_template_class
Hello all, I am being hunted down by this error. When it starts, it happens on every URL: wrong number of arguments (3 for 0) ----------------------- Stack trace ------------------- D:/software/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:825:in `initialize''
2006 Apr 01
2
my app broke this morning on with this error.
Like I said, my app suddenly stoped working in the last few minutes. I''m on dreamhost but I''m running rdge rails locked in on the 1.1 release. Stale NFS file handle - ../config/../log/production.log /usr/lib/ruby/1.8/logger.rb:520:in `write'' /usr/lib/ruby/1.8/logger.rb:520:in `write'' /usr/lib/ruby/1.8/logger.rb:318:in `add''
2019 Jul 16
1
filesharing file owner problem
Hello, I'm having an issue with usage of libvirt driven qemu where I'm sharing directory with guest machine. virsh domain filesharing configuration: <filesystem type='mount' accessmode='passthrough'> <driver type='path' wrpolicy='immediate'/> <source dir='/media/share'/> <target dir='data'/>
2005 Oct 21
1
initialize in helpers
Hi, I have just upgraded to the latest version of rails and zero arg initializers in helpers stopped working. ie I previously had something like module CheeseHelper def initialize ... init some vars etc ... end end class GobbleController < ApplicationController helper :cheese end But this will generate an exception down in the guts of the framework because something has a 3-arg initialize
2006 Jul 24
0
apache proxy lighttpd
Hi, I''m trying to setup up a rails deploy environment. I get an error when start lighty in production.log undefined method `downcase'' for nil:NilClass /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/request.rb:17:in `method'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/base.rb:902:in `log_processing''
2011 Mar 24
1
.Fortran successful, R locks up.
Howdy, I am having a problem with a library compiled from some legacy fortran code. I can call the library, it runs as it should, returns a list, and gives a ">" prompt, but then locks up the R session. Functions typed in return nothing. ctrl-c results in a new prompt that is still locked up, and R overwhelms the processor. This happens on Mac, Windows, and Linux exactly the same. I
2008 May 24
1
link_to_remote, image_tag, mouseover is this possible?
Hi guys, I was wondering if you are able to have a link_to_remote, having an image_tag and the link_to_remote has a mouseover event that updates a div. Does the image_tag need the mouseover event? I currently have: <%= link_to_remote(image_tag(@p_image.public_filename(:thumb)), :update => "big_pic", :onmouseover => {:action => :color_change, :id => @p_image.id})%>
2010 Jul 27
13
3.0.0rc ActionController::RoutingError No route matches
Have been developing on 3.0.0beta4 and just updated to 3.0.0.rc. When I try to link_to() a User object that previously had worked, I get the following: ActionView::Template::Error (No route matches {:action=>"destroy", :controller=>"games", :id=>#<User ..... > Yet I have in my routes.rb file has resources :users and my "rake routes" shows:
2009 Dec 24
4
NoMethodError
Hi, In a few words, can someone explain to me the NoMethodError. Googling for answers will get you to something but a direct answer from experts will give you something. NoMethodError in Book#new Showing app/views/book/new.html.erb where line #4 raised: undefined method `title'' for #<Book id: nil, created_at: nil, updated_at: nil> Extracted source (around line #4): 1:
2013 Mar 24
5
Rails 4.0 has_many_through and fields_for
Hi all, I am trying to reproduce rails 3.2 behaviour with fields_for and nested attributes. class ControllerAction < ActiveRecord::Base has_many :interactions, dependent: :destroy has_many :roles, through: :interactions scope :controllers, lambda {|name| where("controller_name_id = ?", name)} scope :actions, lambda {|name| where("action_name_id =
2008 Mar 24
2
render not able to locate template in publisher
Hi guys, I have a publisher called UserPublisher setup in models directory of my app. The reason I have it in a model is because its then possible for me to invoke publisher methods in after_callbacks of my other models, just the way we do it for ActionMailer. My problem is that when I try to update a users profile specifying location of the view template as a paramater to "profile"
2006 Jun 01
2
using ActionMailer with template files retrieved from sql database table instead of on disk files
I''m trying to set up a system which allows users to create and modify emails to send out to clients. I''ve got ActionMailer set up to send from a template file stored on the file system, but I''d like to be able to move this into the database. Does anyone know how to get ActionMailer to read the contents of the email from a database table rather than the on-disk template
2006 Jan 08
3
Family Connection 1.1.2
== What is Family Connection? == Family Connection is an easy-to-setup online hub for your family that includes a Family News section with Photos, and an Address Book. For more information, visit http://familyconnect.rubyforge.org/ == Downloads == Latest: svn checkout svn://rubyforge.org/var/svn/familyconnect/trunk Version 1.1.2: svn checkout
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
2006 Nov 04
0
Marshal Data Too Short Error
I am using Ruby 1.8.2 on WinXP and am receiving a "Marshal Data Too Short" error. I havent been able to repeat the error as it seems to happen randomly in my rails program. However, the version of Ruby I''m using already has the file.binmode lines outlined in: http://wiki.rubyonrails.com/rails/pages/MarshalDataTooShort. If possible I''d like to avoid switching to active
2006 Apr 05
0
problem upgrading app to RoR1.1
Hi, I need some help when upgrading one aplication made on rails1.0 to rails1.1 I have the application on a debian sarge i upgrade ruby gems to 1.1 and ruby to 1.84 and make an freeze on proyect folder, but when i try to run the application in production mode gave me these errors: [Wed Apr 05 13:49:09 2006] [error] [client 99.5.0.45] file