similar to: 500 Error Page

Displaying 20 results from an estimated 6000 matches similar to: "500 Error Page"

2005 Dec 29
5
help with installing login_engine
Hello, I did a script/plugin discover then script/plugin engine then script/plugin login_engine The discover worked, but I get engine and login_engine not found. I am using a Mac Thanks Frank
2005 Dec 18
3
could you give me a hand?
hi. i try to record a global array to save on-line member. it''s put this array in controllers/application.rb or not? my code like this: $online_users = Array.new and each member sign in will add himself to $online_users. miss something? all regards -- Posted via http://www.ruby-forum.com/.
2005 Dec 29
5
Subversion graphical client?
Hi All - I notice that most of the Rails team are using Mac OS X and TextMate for Ruby development. I too am working on Mac OS X and trying TextMate and (shudder?) EMacs. I was wondering about version control. Are folks using Subversion? If so, are they using a graphical client? Which one do they recommend? Yours, Jordan -- Posted via http://www.ruby-forum.com/.
2005 Dec 17
2
Encrypting files
Anyone know of a good (fast) way to encrypt/decrypt uploaded files in RoR? I''ve seen this project: http://ezcrypto.rubyforge.org/ but it only seems to encrypt strings and such. I need to encrypt files once they are uploaded, then decrypt them when they request the file back. Any ideas? Thanks, Mark -- Posted via http://www.ruby-forum.com/.
2005 Dec 26
2
resorting a dataset
Quick question to see how I might re-sort an Activerecord data set. Let''s say I have this table: tablename: testscores | id | student | score | avg_for_year 1, steve, 85, 82 2, tom, 84, 92, 3, jim, 92, 95 In my controller, I have something like: t= Testscores.find(:all, :order => "score DESC", :limit => 2) ...where it would return the records for Jim and Steve.... My
2005 Dec 16
5
Question: image_tag(source, options = {})
image_tag(source, options = {}) Ok, when I want to use an image I added the following code: <%= image_tag "dsf.jpg" options = {[align="right", style="padding-right: 10px; padding-top: 5px;"]} %> However, this doesn''t seem to work, it doesn''t like how I have the "options" part setup. I''m sure there is something very easy
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
2005 Oct 11
4
Searching an attribute in a hmabtm relationship
(Nuby to Ruby and Rails...) I''ve implemented security using the login generator in a simple app so that I have a user table, a roles table, and a join between them (roles_users). All works as expected. I now need to check if a user has a specific role, but my approach is off somehow. Here''s what I''ve tried thusfar: user_roles = @session[:user].roles
2005 Dec 21
8
textilize - redcloth
Hi, I''m using textilize with redcloth 3.0.4. Everything works best except that paragraphs are not translated as an HTML paragraph When I write something like: *first paragraph* second paragraph the output is without paragraph: *first paragraph* second paragraph Any help??? Thanks Jörg
2006 Mar 08
2
RailsConf speakers
Does anyone have a clue as to when the railsconf speakers will be announced? Thanks- -Ezra Zygmuntowicz Yakima Herald-Republic WebMaster http://yakimaherald.com 509-577-7732 ezra@yakima-herald.com
2005 Dec 28
8
Rails app lags after inactivity
Hi all. I have two Rails applications. Each is on its own VPS hosted by Pipespring (excellent service btw). My app runs lightning quick - AFTER the first load. If I visit my site after a period of inactivity (i.e. no visitors to my site), it takes up to 10 seconds to load that first time. After that I can hop around with no problems. Has anyone run into this before? Ideas? - Rabbit
2005 Dec 16
2
Is this possible?
Hello Friends, def new @invoiceitems = Invoiceitems.new @oldinvoiceitems = Invoiceitems.find(:all, :conditions =>[''invoice_id = :invoiceid'', { :invoiceid => params[:id] } ] end Error is being shown in the line number with ''end''. This is for initialising a new invoiceItems object and also finding and storing all the invoice items for a
2005 Dec 24
2
Variable dumper
Hi there, I am newbie both in Ruby and in Rails. My experience is mostly PHP. In PHP, there is a var_dump($mixed) function that dumps the object $mixed to std_out. This is helpful to see the curent value of a variable, of if it is an object, everything that is in the object. Is there an equivalent methods in RoR? Thanks, Ezra -- Posted via http://www.ruby-forum.com/.
2005 Dec 26
2
confused about ruby fast C bindings
I am confused about ruby fast C bindings. Does the command: gem install mysql install these? Is this page: http://www.tmtm.org/en/mysql/ruby/ the home page for these bindings? If so, it gives no instructions about installing them with using gem. Wondering if this is all the same??? Thanks for any help... Shelby _______________________________________________ Rails mailing list
2005 Nov 09
1
Enterprise Integration with Ruby - Beta book
I saw this mentioned on Dave Thomas''s blog http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Tech/Ruby/EIR.html and don''t remember having seen it announced on this mailing list. This new Beta Book is at http://pragmaticprogrammer.com/titles/fr_eir/index.html regards Justin
2005 Aug 14
1
Rails Movie for fun
Hey, just put together a small swf movie of the app I''m working on. The first frame shows just a test frontend index page. The rest is all backend. I didn''t include showing what code gets generated etc as it would make the movie way too long. But figured some people might enjoy watching. http://mtvsucks.org/first_rapture.htm -Paul
2005 Oct 14
1
Detecting Webrick // determining application "root" directory
Is there a way to detect Webrick at runtime? I''ve noticed a couple of differences between my dev environment (Webrick) and the production environment (Apache 2/FastCGI): * stream must be false in send_file with webrick * pwd is different - Webrick: It''s where you run ruby script/server from - Apache: It''s the public directory ... unless someone
2005 Oct 24
3
Unable to use forms after login generator
I''m using rails 1.8 and login generator 1.1. I''m using rails to manage the contents of my website. I decided to put an admin page for the content management. For the sake of convenience, I used Login Generator. Now when I go to edit or create new content (for now, just posts), it gives me the following error (this one is for new posts): NoMethodError in Goblin#new Showing
2005 Dec 15
3
session scope?
Hi all, I''m working on a Rails application. In this application I retrieve a list of ''brands'' using a method somewhere defined in my controller: private def get_brands @brands = Product.find_by_sql("select distinct brand from products"); end However, I display this information in a listbox in the template for my controller. This means @brands
2005 Dec 29
3
NoMethodError problem
Hello. Id like you to help me with something here, i m trying to create a log manager just for fun but I cant make it work since the beginning. I created my project, configured the db, initialized my model Log and then my controller Log, then im just trying to use scaffold :log for the controller but I cant make it work, the error says: undefined method `errors'' for