similar to: Can only render or redirect once per action - why?

Displaying 20 results from an estimated 6000 matches similar to: "Can only render or redirect once per action - why?"

2006 May 19
6
rmagick->X11 on MacTel Howto?
I needed to install rmagick/GraphicsMagick on an IntelMac and did so from Darwinports. Some things work and others don''t work, like rendering fonts which needs X11 fonts and X server. The rmagick page at rubyforge points to .. http://developer.apple.com/opensource/tools/runningx11.html where X11 link to Apple is broken. X11User.pkg talked about on the page above no longer exists at
2006 May 16
7
svn-1.3.1 errors on intel mac on checkout
I just installed svn-1.3.1 from .dmg on an intel mac. I am getting ... subversion/libsvn_wc/log.c:338: (apr_err=155009) svn: In directory ''sr'' subversion/libsvn_subr/io.c:565: (apr_err=2) svn: Can''t copy ''sr/.svn/tmp/text-base/README.svn-base'' to ''sr/README.tmp'': No such file or directory Any one getting this? TIA for any help.
2006 Mar 16
21
RadRails 0.6 out
Since RadRails 0.6 is out (see http://www.radrails.org/ ), I have made a "celebratory illustrated tutorial" on how to use the Eclipse update function to do the upgrade from within Eclipse (I found the process a tad confusing): http://wiki.awebfactory.com.ar/awebfactory/published/UpdateRadRails saludos, Victor Kane awebfactory.com.ar -------------- next part -------------- An HTML
2006 Jan 09
11
Fast Ruby Debugger?
After developing in Java for years in IDEs I''m starving for a decent ruby debugger. When learning new codebasesI find it invaluable to use the debugger to step through the system and see how things work at runtime. Using RDT in Eclipse is fine but it''s excruciating to wait minutes for the default debugger to finally reach my breakpoints on tests that normally take seconds to
2006 May 26
4
shouldn''t this work? - session[:array_of_objects].delete_if {|x| x.id == params[:id]}
I am saving an array of active record objects (college courses) in the session as session[:course_list]. This is the cart for a registration controller. If a student chooses to delete the course from the list I get the :id as params[:id]. However if I do session[:course_list].delete_if {|x| x.id ==params[:id]} does not work. session[:course_list].delete_at(idx) works. Ocourse to do this I have
2006 Apr 21
28
Ruby, Rails & Linux - Which distro ??
Hi, I''ve been doing most of my initial playing with rails on a windows system - but wish to switch to a dedicated linux box for this. Are there any particular distro''s to avoid / recommend. I prefer debian for my other stuff, but thought i''d ask before going ahead. :) Cheers -- Posted via http://www.ruby-forum.com/.
2006 Jan 09
5
form with more than 1 file upload field saves 0 byte file for 1 file field
Im using the file_column plugin to upload files from my application. The problem I am encountering is that I have a form with 2 file upload fields and when I submnit that form with files selected, I would get a message from the browser(Firefox) saying that a script on the page is taking a long time to execute and whether I want to cancel it or continue. Whichever option I choose, only 1 file(PDF)
2006 Mar 09
6
rmagick and captcha
Has anyone implemented a captcha with ruby on rails and rmagick? I tried this example: http://wiki.rubyonrails.com/rails/pages/HowtoSecureFormsWithNoisyImages but I got an error: undefined method `size'' for #<NoisyImage:0x34d8070> Thank you -------------------------------------------------- Rodrigo Dominguez ? Iplan Networks ???????????????Datos Personales
2006 Jan 06
10
I need debugging tips?
Hi all, Like most other frameworks, Ruby groups code by Model/View/Controller instead of by task, and therefore I''m having a hard time debugging a problem from the Agile Rails book where looping through @items errors out because one or more items is nil. I managed to empty the cart by placing session[:cart] = nil in find_cart() in the store_controller_rb, and the problem continued
2006 Apr 12
5
SPAM on rails-list
This is a high traffic list as it is and it is really annoying to see that SPAM is on the rise here. I wonder how they can spam the list since each user has to be authenticated. Do spammers go through the trouble of subscribing to the list? In any case, this msg is to the list admin...could you please do whatever it takes to filter this stuff out? Thank you very much. -bakki
2006 Jun 16
5
[slightly OT] Problem with subversion 1.3.1 on OSX Tiger
I have a subversion repo on a Debian Sarge server. I do rails development on two Debian workstations (home, work) and also a MacBookPro. I installed subversion from Darwinports. Things worked ok for a while and I did commits from and updates to all three machines until today. When I did svn status I noticed a lock on the working dir. $ svn status ? Rakefile ? readme ! L . .... etc I cannot
2006 Jan 24
2
Security Code for protecting forms?
Hi all What''s the easiest way to protect my forms using a security code? Is there any plugin available for this? Thanks a lot. :-) Josh -- Posted via http://www.ruby-forum.com/.
2006 Jun 28
15
Its here! RubyGems Release 0.9.0
Read about it here: http://rubyforge.org/forum/forum.php?forum_id=7575 -- Posted via http://www.ruby-forum.com/.
2006 Apr 23
4
Ruby, Rails & Linux - Which distro
Did I sound like our President? :) <spin> I didn''t explain myself well. I am not thinking of buying the identically equipped PC laptop either at the same price. If I had a $2500-$3000 budget (laptop, Applecare + case etc) I might consider the Mac, but then in the PC laptop universe there are more options of going with the slower processors (T2300 or T2400) for about $1,000 less
2007 Sep 17
2
Drb - shared app with multiple private databases - howto?
Hello, I''ve been trying to get my head around ferret and the one thing that stumps me is how I might use Drb on a dedicated server with multiple clients using the SAME application but each with their own private database and other file assets (in an uploads directory within the app) Thank you for any suggestions, pointer etc. Also I''d be very interested in hearing from those
2006 Apr 06
16
Rails Masters'' debugging techniques -> Rails Recipes?
Hi, This msg for Chad Fowler or anyone who fits the subject line. I bought the Recipes book and really like the way it has been progressing. There is one subject I''d like to see explored in detail. Having come from Assembly and C background I find that a ''must have'' tool in your collection is the debugger. I find debugging a Rails App the most thorny issue inversely
2006 Feb 23
12
Showcase On Rails CMS v0.1
I built out a simple CMS for websites that rely heavily on portfolios. This covers graphic and web designers in particular, but also other people with stuff to show off. It''s really easy to customize progressively, so that some people will only modify CSS, but others will dig deeper into Javascript behaviors and the Rails view code. Check it out at http://showcase.kylemaxwell.com/ SVN
2006 Feb 04
5
file_column + form_remote_tag
For my weekend project, I''m going to get form_remote_tag and file_column playing happily together. According to my research, no one has done this yet. If you happen to have tried this, and have some workable code, send me an email. I''d rather not duplicate the effort. Thanks! -- Kyle Maxwell Chief Technologist E Factor Media // FN Interactive kyle@efactormedia.com
2006 Jan 27
3
Problem setting multi-value cookie
I''m trying to set a multi-value cookie but for some reason it''s not working. Any help would be appreciated. cookies[:user] = { :value => {:email=>params[:login][:email], :passwd=>params[:login][:passwd]}, :expires => 30.days.from_now, :path => "/login"} -- Thiago Jackiw
2006 Feb 07
4
RailsCron 0.2.2, please update
I updated RailsCron to fix some threading issues with ActiveRecord. Please update if you were on 0.2.1. Also, I am still working on a good unit test strategy (its tricky because I would think that the tests must occur over a lot of time), but haven''t had/made time to give it its due. If you have suggestions, please let me know. -- Kyle Maxwell Chief Technologist E Factor Media // FN