similar to: My first hours with Ms Ruby..

Displaying 20 results from an estimated 10000 matches similar to: "My first hours with Ms Ruby.."

2006 Jun 23
3
Help Analyzing The Log...(first time newbie)
Hello. Can someone please help me read this error log located in the log folder? [ displays ''ESC'' in my editor, but did not display in this copy and paste. so i''m wondering what that means too.. Session ID: cefa85a414c483d345b4e2fd5ce9449c / ^ just the session id / Parameters: {"action"=>"index",
2006 Jun 06
11
Instant Rails speed on my puter..
Hi. I''ve installed Instant Rails, and when testing my rails apps, I''m noticing the load time is quite noticable. I''m concerned when I convert to real produciton, going live, if there''s going to be the same delay, plus additional bandwith traveling time. I am running on a pentium 4.. Insights on speed.. Thanks Dominic Son -- Posted via
2006 May 18
7
Ruby Before Rails
As I, like many people, are coming to ruby in the rails era, I''m curious about how Ruby Web Dev was done prior to rails. Any veterans want to share their insights? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060518/20cde24d/attachment.html
2006 Jul 10
7
Code suggestions with Radrails .rhtml view files
anyone been successful with implementing code hints in the Views folder with radrails in eclipses? There is a tutorial out there that suggests you edit the jsp folder (http://www.napcs.com/howto/railsonwindows.html#_Toc111133462) but i think when you add rails, that jsp folder somehow disappears or something. i don''t like that idea anyway, cause i don''t like jsp hints
2006 Jun 09
18
Is IRB the ruby console ?
I''m running script/console but keep getting the message that irb.bat is not recognized as an internal or external command, operable program or batch file. If it means anything I am running instant rails. I can invoke irb straight forward. TIA Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jun 19
9
Railsday 2006
Can you guys post a demo of your application ? Would be great. Thanks, Pratik -- rm -rf / 2>/dev/null - http://null.in
2007 Oct 11
2
Exposing sound files through http for links
Hi. I'd like for my sound files to be exposed through http. You know, the ones located in var/lib/asterisk/sounds. This is probably an apache thing i'd have to configure or is accessible through some asterisk http routing? 1. how one would configure this? 2. what are the security costs of doing this to asterisk? - Dominic
2006 Jul 31
2
Problem with dropping the column_id column...
hi there. Has anyone ever have this happen to them where they did one of these raw ''execute fk_'' sql commands in their migrations (like seen in the depot app in the agile rails book when they were building the line item active record...anyways, now i can''t get those foreign keys to delete, nor can i even get the column_id to delete too..so weird.. humm..just
2009 Aug 07
2
create separate plots by factors
Hello, I am attempting to create several plots based on "site" (~300 total) and am having trouble with the code. I simply want to create a plot using the code, plot(year, peak), for the following dataset. I would like for each site to be plotted on a separate page and the plots saved in a directory. Would a "foreach" loop work? I tried a "by" statement, but
2007 Oct 20
1
asterisk.conf and it's impact on CLI
I was previous using Asterisk 1.2.9.1 and decided to get some real servers outside of my house. It was time for Asterisk 1.4.4. I figured since all the conf files were in /etc/asterisk form the old box, i'd just copy tha directory over to the new server. My SIP DID AGI stuff worked, except running 'asterisk -r' doesn't. It tells me ' Unable to connect to remote asterisk (does
2006 Jun 06
6
Speakin of the Devil..
Hi. How can one embed PHP into their rhtml files (located in the views folder? I''d like to use those JD library graphical plugs that use PHP... I''ve already added .rhtml to the php extension in apache''s httpConfig.. Insights or the truth would be appriciated. Dominic Son -- Posted via http://www.ruby-forum.com/.
2006 Apr 04
4
Maintaining and securing the "Perfect Rails/Debian/Lighttpd Stack"
Hi there I''m planning to build "The Perfect Rails/Debian/Lighttpd Stack", published by Ezra Zygmuntowicz and Sean Schertell at http://brainspl.at/rails_stack.html I''m wondering what sort of constant maintanance that setup would incur. What actions have be regularly performed to keep this setup healthy and secure under normal conditions? Alder
2006 Jul 22
2
How to SELECT from multiple talbes with AR#find and associations?
So I want to SELECT from multiple tables, so as to be able to do "SELECT FROM foo, bar WHERE foo.id=bar.id AND bar.baz=23". How do I do it with AR#find? Also, I need this for associations. has_many et. al. have :finder_sql, which is nice, but feels like a Pyrrhic: it''s basically doing the association in pure SQL, defeating the purpose of AR. -- -Alder
2006 May 18
4
How do you delete a session variable?
Hi Let''s say we set session[:foo] = ''bar''. Now we want to remove the :foo key completely. How do you do that? Appearantly, session is a CGI::Session [1] instance, so it doesn''t have #delete like Hash. I tried: session[:foo] = nil But then debug(session) shows an empty :foo key. I''d like to remove that key, as my session is already pretty crowded. Is
2006 Aug 18
2
subdomains with Rails
Hi. I want to add subdomains like this: Example: http://shirts.myshopify.com , http://computers.myshopify.com Is it something you can do while still in development mode or do you wait until you deploy and configure the subdomain names with your host somehow? Can you help direct me in the right way to do this? -- Posted via http://www.ruby-forum.com/.
2002 Sep 11
10
Too many processes kills server
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: Blank Bkgrd.gif Type: image/gif Size: 145 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20020911/a89e1b74/BlankBkgrd.gif
2006 Mar 24
10
Running Rails tasks by schedule, instead of an HTTP request.
Hi there I''m considering Rails for a new web-application planned to be built from scratch. The application has an extensive web front, and in fact most of the application is interfaced through that front and engaged through clients'' HTTP requests (i.e. the conventional way web-applications and "dynamic web-sites" work). However, some essential parts are supposed to
2006 May 06
3
Storing additional data on join tables with Rails
Hi there I need to store additional attributes on join table. Searching the Wiki [1] revealed two possible methods: 1) push_with_attributes, as described by Justin Palmer [2]. Unfortunately, "this method is now deprecated" [3]. Even if it wasn''t, there seem to be inherent problems with that approach, for example with updating those additional attributes, though Joshua Muheim
2006 May 17
6
White Screen of Death
Hello, I''ve heard these words to describe a RoR application returning an empty page. This happen from time to time even here, in the forum. That is the cause of this misbehaviour ? Is it related with something external to RoR itself ? What is the solution to avoid the WSOD ? -- Posted via http://www.ruby-forum.com/.
2006 Jul 21
2
File.open behavior for ActiveRecord, to ensure save after manipulation?
File.open in core Ruby is nifty, in that it automagically closes the file when you''re done using/manipulating it. I''m wondering whether there''s something like that for ActiveRecord? So you can do: AR.find(23).open {|ar| ar.foo = ''bar'' ... } And ar.save would be called when the block closes. -- -Alder