similar to: Re: ActionViewError in Depot App after Upgrading to 1.0

Displaying 20 results from an estimated 1000 matches similar to: "Re: ActionViewError in Depot App after Upgrading to 1.0"

2005 Dec 16
0
Error in Depot App after Upgrading to 1.0
Hi @all, i''ve upgraded rails to 1.0 and my depot-app (from Agile Web book). It causes an error, when i try to call the admin/ship method. All other methods works as expected. Calling the url in webrick: 127.0.0.1 - - [16/Dec/2005:17:35:58 CET] "GET /admin/ship HTTP/1.1" 500 0 http://localhost:3000/admin -> /admin/ship i get the following error and a blank page in the
2005 Dec 21
2
Missing error page templates
Whenever I get any errors on my application, I don''t get the regular rails error page with all the debugging information. What could''ve cause this? This is from the logs: ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template found for /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/template_error.rhtml):
2005 Dec 18
3
undefined local variable in partial
i can''t get rid of the following error: ActionView::TemplateError (undefined local variable or method `order_line'' for #<#<Class:0xb75b2090>:0xb75b1f28>) on line #13 of app/views/admin/_order_line.rhtml: 10: 11: <tr valign="top"> 12: <td> 13: <div class="olnamebox"><%= h(order_line.name) %></div> 14:
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
2008 Mar 04
2
Action Mailer throwing underscores on template name
I''ve recently run into a problem with one of my applications that refuses to send emails using ActionMailer. Looking at the log, it become obvious what''s happening, the system is looking for templates with underscores at the end. Notice the exception_notification_ . For example: ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template found for
2005 Dec 19
1
Preserving fallback with RJS
Hi guys, I really like RJS. I think they''ll replace partials in alot of instances. Unfortunately, because they''re automatically used like .rhtml and .rxml and are hard to specifically specify it makes it messy to preserve fallbacks when using them. For instance, using partials instead of rjs, my create method might look like: def create post = Post.new(params[:post]) ...
2006 Jun 08
1
No rhtml, rxml, or delegate template found
hi , i''m having a problem with rendering a partial , the partial is in the apps/view/polls folder with the name : _antwoorden_user.rhtml in the view i''m rendering it with <% if @user %> <%= render :partial => ''polls/antwoorden_user'', :locals => {:poll => @poll, :user => @user} %> <% else %> .... gives me the error => No
2006 Jun 05
1
Action Mailer contact form
I am trying to use Rails and the Action mailer to create a simple contact form on a website. I am using a table-less model to validate the form contents, then trying to use the Action Mailer chapter of the "Agile Web Development with Rails" book as a pattern to develop the send e-mail portion. I am having trouble getting it working and was hoping someone could point me in the
2006 Feb 25
0
neverending i2/lighttpd problems
So after recompiling ruby a few times to get ssl and readline working, fighting with lighty for awhile, and learning a bit more about linux in the process, I think I''m really close to getting i2 up and running. However, when I try to access my wiki, I get either a blank page or an error 500 and the stack trace below gets sent to the log. If I can''t get this working soon
2006 Apr 18
7
Functional test, pls help!!!!
Hi guys, recently encountered this funny problem which i really dunno wat happen... I have been trying on it for the past few days and just doesnt work.Hope you guys can give me some enlightenment. Problem: The functional test doesnt seems to be able to recognise one of my model, and when i run the test, it keeps giving me the error of"You have nil object when you don''t expect
2006 Jan 19
3
Troubleshooting Depot App
Hello! I am working my way through the Agile Web Development guide on RoR (the depot application). I am a bit lost as to where to debug the following error. The error is pasted below: ================================================================================================ NameError in Store#add_to_cart undefined local variable or method `product'' for LineItem:Class
2005 Dec 27
2
NoMethodError in new scaffold
Hi All, I created a new rails application using rails 1.0. I used "ruby script\generate scaffold" for each of my tables. This worked on all but 2 of my tables. When I go to the new or edit action of my requests or admins table, I get the error below. On one table called admins I hadn''t followed the correct naming convention and wasn''t able to edit or create
2006 Jun 12
8
Input/output error on linux
Hi, I''m trying to use mongrel 0.3.13 with Rail 1.0 Believe it or not, on OS/X it works well for weeks at a time. On linux I''m getting Input/output errors after anything from a few hours to days, never more than a week. Once they start they don''t stop. The only pattern I''ve seen is that it always (seems) to happen while rendering an rhtml file.
2008 Jun 10
7
ActionMailer undefined method `parameters' - Rails 2.1
Hello Rubyists, I''m currently trying to get email hooked up via ActionMailer, and while I''ve gotten it to work in the past on Rails 1.2.x, I''m seeing an error that I''m unfamiliar with. Right now, I''m just trying to send email from my dev box via the SMTP server at work. My development.rb file: #...snip config.action_mailer.delivery_method = :smtp
2008 Jul 02
3
Crashing after Update
Hello All! I''ve been running Rails 2.0.2 with Ruby 1.8.6 for the last six months. I developed an application that runs fine on two different servers -- or at least, it used to. I used Mongrel as a development server, but requirements called for using Apache for a production deployment. I found Phusion Passenger (mod_rails) and decided to give it a try. I decided to update my rubygems
2008 Jan 24
1
NoMethodError (undefined method `to_sym' for {"6"=>"1"}:Hash
I''ve got a search form that was working on rails 1.2.6, but since upgrading to 2.0.2, I''m getting this error when I post my form. Here''s the full error: Processing SearchController#results (for 24.173.26.226 at 2008-01-24 14:51:23) [GET] Session ID:
2002 Jul 15
0
Contact Needed... / http://www.samba.anu.edu.au
Let us submit http://www.samba.anu.edu.au for FREE on Japanese search engines, German search engines, Hispanic search engines , French search engines , Chinese search engines etc.....! After reviewing http://www.samba.anu.edu.au, we have noticed that your website cannot be found on foreign search engines. Could you please put me in touch with your marketing director or whoever is in charge of web
2003 Dec 03
2
New Multilingual DIAX (0.9.5) available for download
Hi all, The new multilingual version of DIAX (0.9.5) is now available for: - English - Romanian - German - Dutch - Italian - French - Spanish - Portuguese at the following locations: http://www.laser.com/dante http://www.geocities.com/tdanro What's new in 0.9.5 : - double support(IAX(1)/IAX2) - Multilanguage support: English, Romanian, German, Dutch, Italian, French, Spanish, Portuguese(for
2002 Feb 03
2
WinVC - Multiple file tag editor!
> Source? :) It's in Delphi 5. I will make the source code available when I'm happy with it, if anyone wants it. > I havn't used it yet, but you might find these screenshots helpful for > an interface: Initially I've designed the interface for the 95% of users who just want something very simple and can see the tags they are interested in on one form. I may add an
2005 Aug 10
24
Multilingual Rails v0.5. Big update!
Multilingual Rails v0.5 is just released with lots of new features. Here is the changelog: v0.5: New charset conversion string-methods. Multilingual Rails always use UTF-8 internally. iconv_to(charset) # Return string as charset iconv_from(charset) # Return string as UTF-8, converted from charset iconv_from!(charset) # Convert string from charset to UTF-8