Displaying 20 results from an estimated 6000 matches similar to: "Speakin of the Devil.."
2006 Feb 10
1
Rails is the devil on your client-side shoulder
Hi Everyone,
Sorry for the inflamatory title, just trying to get your attention.
Ive been thinking alot about the JavaScript helpers and I''ve written
my thoughts on my companies blog if any of you are interested:
http://www.vivabit.com/bollocks/2006/02/09/rails-is-the-devil-in-your-client-side-shoulder
I know people have brought this up a number of times but I really
think it needs
2005 Mar 08
3
Making a module method available in view
I have a Rails application called RailsApp. In my RailsApp/lib
directory, I have a file called localization.rb that defines a module
called RailsApp with a Localization class that implements a method l.
(RForum devs and fans will recognize this as the YAML-based
localization feature in that package.)
I want to be able to call this method from my controllers and views.
I have added a
2006 Mar 07
6
Can Ruby and PHP play nice together?
I''m busy trying to bang out a new version of the website for my fantasy
baseball league (www.ibl.org) and I''m torn as to what to do. I''m a PHP
coder by day (Zend Certified and everything) but like Rails too.
Now, the site is morphing into a "blog plus tools for league members"
site. A lot of those tools are already written in PHP and I don''t want
2006 Oct 02
3
Mongrel cluster FreeBSD rc.d script
Hello all
After installing Mongrel, Mongrel Cluster and all it''s dependencies via gems
under FreeBSD. Next I have configured all config/mongrel_cluster.yml for each
Rails app, then:
% mkdir /usr/local/etc/mongrel_cluster
and likend each railsapp.yml to it''s refering app/config/mongrel_cluster.yml
My question is, after preparing all base configs now I need to add some rc.d
2006 Apr 24
12
setup a staging site?
Hi, i''m wondering how to setup a staging site for my RoR app. Right now i
run webrick on my laptop to develop, then i svn commit my changes to the
production server. However i need to make my development environment
available to others and not just for me on my laptop.
I have RoR setup on a hosted vps server which runs in production
environment. Its on apache 1.3 and mysql. How can i
2006 Feb 24
8
Ruby site structure on Apache
I use a hosting company,it use appache for RoR
I test a ''hello word'' code here
http://www.smtservers.com/demo/
I can see the working code here
http://www.smtservers.com/demo/public/say/hello
My question is how to short the url like
http://www.smtservers.com/demo/say/hello.I do not like public always in
URL
Thanks for help
Mark
--
Posted via http://www.ruby-forum.com/.
2006 Feb 06
4
fcgi to run cgi scripts
Dear experts,
I have rail site that is running lighttpd and fcgi. I want the default
domain to serve the rails application, and I also want to have a
virtualhost (bugs.mysite) to resolve to a bugzilla instance.
Bugzilla is basically Perl application called through CGI.
I tried to find pointers on how to set fcgi to run both rails dispatcher
and other cgi scripts in a different virtualhost, and
2006 Sep 22
1
how about the global data when multiple backgroundrbs ?
Ezra,
Suppose a chatroom application, a RailsApp + 2 backgroundrbs: MiddleMan1&
MiddleMan2, running in 2 machines.
When Chater1 login, RailsApp call MiddleMan1 to get something about
Chater1 from db to memory, like his contacts or other personal settings.
When Chater2 login, RailsApp call MiddleMan2 do the same thing.
But who is reponsible for the Global Data? like a Online Chaters
2006 Nov 29
4
String question
Hi to all
I would to determinate whether bits is a binary code and I would to find
out the which bit is set to 1
bits <-"00110110"
I found to detect whether there are only numbers
all.digits(bits)
but is there any function to detect whether there are only 0 and 1 in
the string
And how could I get the f.e the third "bit" from the right hand side
With regards Carmen
2006 Mar 27
3
any luck installing RoR with apache / cpanel setup?
i just went through installing RoR on a cpanel setup and everything
seems to work except for deployment. i go through the entire process of
setting up a new rails app on a cpanel account and i get:
Not Found
The requested URL /testapp/index.html was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request.
2006 Nov 13
9
Setting up Mongrel and Apache , some direction needed
I have a site that is PHP on Apache / RedHat , but will send requests to a
subdomain (running Rails) for database operations.
I believe the set up should be to have ROR using Mongrel, and an Apache
virtual host passing requests from apache to mongrel.
Does this sound correct ?
I believe the Virtual Host is set up in Apache.
One of my problems is I can''t find the httpd.conf file for
2006 Nov 30
3
writing function with ,... )
Hi to all
I did not found the right hints for functions with the dot-dot-dot argument.
Is it possible to write own functions with the tree dots and if yes
what's wrong with the following example?
test <- function(x, ...)
{
print (x)
if (exists("y"))print(y)
if (exists("z"))print(z)
}
test(4,y=2)
With regards Carmen
2007 Jun 06
6
p-value from GEE
Hi to all,
I found in the R-help archive how to calculate the p-value for a gee result:
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/74150.html
but there are two questions (I am afraid they are basic questions ...)
1. why is the result multiplicated with 2
2. how could I decide between lower.tail =TRUE and FALSE:
example:
2006 Nov 08
10
axis command and excel time format
Hi to all,
I have some problems to get the times-scale to the x-axis the times are
coming from an excel sheet f. e
[1] "0:01:00" "0:02:00" "0:03:00" "0:04:00" "0:05:00" "0:06:00" "0:07:00"
[8] "0:08:00" "0:09:00" "0:10:00" "0:11:00" "0:12:00" "0:13:00"
2006 May 20
3
integrate with php-script
I have built a webshop in rails, now it''s time for invoice handling
through a third party. The communication will be done by xml-rpc. The
built in ruby xml-rpc doesnt seem to be compatible with the third party
so I have to use a special php-script (provided by the third party) that
will handle the interaction with them. Where on the server should/can I
put the script? I would prefer
2007 Apr 18
10
customizing global request handler
what is the cleanest way to do something for every request of a particular type (Verb, and Content-Type header)? i''m trying to figure out if shipping a custom camping.rb is avoidable, and if, how i should structure a patch
my app http://whats-your.name/yard/ uses exclusively JSON based messaging between server and client. this means POST bodies are JSON, and not querystring.. camping
2006 Mar 11
3
website monitor?
hi all.
i have a site powered by ROR. now, i try to find a monitor based on
ruby.
any one have any idea?
regards.
--
Posted via http://www.ruby-forum.com/.
2006 May 11
5
Problem running application in cpanel
Hi,
I installed rails following the instruccions from
http://wiki.rubyonrails.com/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel
but when i try see the application i have a 500 Internal Server Error, this
is only with apache because i can run with webrick
Please i am desesperate
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Nov 30
5
Sharing Mongrel Log Files on SAN Storage
Hi,
My department has a SAN and I''m wondering if it is safe to have all of
my mongrel''s share log files stored on the SAN.
More specifically, we have 4 machines, each running a couple of mongrel
processes. Right now each machine has its own set of log files for
mongrel. However, I am thinking that it might be better to put the log
files on the SAN and let all the mongrels
2006 Aug 18
11
#<Errno::EMFILE: Too many open files
My application runs a backgrond process and after running for a while I
get this error in my logs:
#<Errno::EMFILE: Too many open files
Lasty, the ONLY code I have that does anything with files is:
File.open(image_path, "wb") do |file|
file.puts file_content
end
Any idea what this means?
--
Posted via http://www.ruby-forum.com/.