Displaying 20 results from an estimated 10000 matches similar to: "Adding a parameter/path to the URL of a invocation to a XML-RPC call"
2006 Feb 07
3
Dinamic controller
Is it possible to make a Rails app respond to a "dinamic" controller?
As I understand method_missing can be used inside a controller to
respond to nonexisting methods, is it possible to provide a similar
behavior at a controller level? I am not sure at whic level would this
code be inserted...
--
An?bal Rojas
http://www.lacaraoscura.com/
anibalrojas@gmail.com
2005 Nov 02
1
Windows, Segmentation Faults, config.load_paths and config.cache_classes
I am doing some testing with the rails trunk, version I switched to
because of memory leaks in 0.13.1 under linux environment.
Right now the application is running fast and steady under linux, with
no memory leaks using SCGI Rails Runner 0.4.3 from Zed, BUT it has
become unusable under Windows (our main development environment) where
I am getting a lot of segmentation faults.
BUT the problem
2006 Mar 13
0
RubyCorner a meeting place for the Ruby and Rails blogging community
After spending some of our spare time (a software developer having
"spare time"? really?) writing unit and functional tests, RubyCorner
is going live: A blog directory focused on the Ruby language, Rails
and any other Ruby related project.
We like to think about RubyCorner as a "meeting place" for the
community, also as a "focal point" where the people new to
2006 Dec 24
1
How to get database.yml configuration to use it in a rake taks
Hello,
I want to get the production environment configuration from the
database.yml in the /shared folder of a deployed rails application. I
could use scp to get the file, write it to temporary file, read it and
open it with YAML, but is there a better way to do this?
Best regards,
--
AnĂbal Rojas
http://www.rubycorner.com
http://www.hasmanydevelopers.com
2007 May 21
2
logger anybody?
Hello,
When trying to use logger into any RSpec I get:
logger anyboundefined local variable or method `logger'' for
#<#<Class:0x278bee0>:0x253cdec>
Not sure if this is the spected behaviour (haven''t checked under the
hood) It was just annoying not having a logger instance available as in
Rails out of the tests.
--
An?bal Rojas
http://www.rubycorner.com
2007 May 27
1
annotate_models plugin to annotate RSpec specs and fixture
I have found useful to have the table information associated to models
disp?ayed in the models and fixtures files of my rails applications.
If you want to add this information to the spec_fixtures and specs add
the following patch to your plugin.
Index: vendor/plugins/annotate_models/lib/annotate_models.rb
===================================================================
---
2007 May 29
5
Trouble defining a stub method for a controller
Hello,
Not sure if I am doing something really wrong (let''s not say
stupid for now), but I haven''t been able to stub a controller method
like:
controller.stub!(:logged_in?).and_return(true)
Please help, this is driving me nuts ;-)
--
An?bal Rojas
http://www.rubycorner.com
http://www.hasmanydevelopers.com
2005 Nov 15
11
Collecting thread: Too many open files (Rails+SCGI crash)
I have a problem with running Rails 0.13.1 with scgi_rails 0.4.3 and
Apache. After running for some time (more than a day), the SCGI
process stops with the following error (from scgi.log):
--
[ERR][24189] Collecting thread: Too many open files
[ERR][24189] /usr/local/lib/ruby/gems/1.8/gems/scgi_rails-0.4.3/lib/scgi.rb:188:in
`accept''
2007 May 29
0
Specify methods (GET, POST) allowed for an action in Rails
Hello,
I have been trying without sucess to specify that a specific
action should only be reached when the appropiated method is used. I
think I am missing something obvious... :-) (and yes, the context of
this problem is the restful routes)
--
An?bal Rojas
http://www.rubycorner.com
http://www.hasmanydevelopers.com
2006 Jul 11
4
validates_unlike plugin
Validates Unlike Plugin (v 0.1)
========================
Validates Unlike plugin validates that the value of the specified
attribute doesn''t match against the regular expression provided
Class Contact < ActiveRecord::Base
validates_unlike :comment, :with =>/html|http|onclick|onmouseover/ ,
:message => "comment can''t include: href,http,onclick,onmouseover."
2005 Apr 16
2
String in data frame
hello,
how can take the string in the data frame.
right now i have a table that create as a data frame and stored in the file called "data.xls" and now i want to read data frame as a table in my another r program, i used the following command:
the first column of the data frame is just one number called "num", but the second one a list of string, called "name".
d
2006 Jan 28
1
Switchtower different svn repo urls from my local box and my shared hosting
I got problems running switchtower 0.10.0 when I try to run "rake deploy"
from my local box (windows) to my shared hosting
If I set the repository to (deploy.rb):
set :repository, "file:///home/[my_user]/repo/[my_app]/trunk"
My local box (windows) can''t reach the subversion repository located in
site5
If I set the repository to:
set :repository,
2012 Nov 03
2
reorder() in the latticeExtra library
Hello all, thanks for your time and help. Below are my commands, and it
generates a really nice plot, however I am not happy with the reorder()
function. I would like the order to be the same as they appear in the
genotype variable "genotype <- c("CJ1450 NW 4/25/12","CJ1450 BAL
4/25/12","CJ1450 NW 4/27/12","CJ1450 BAL 4/27/12","CJ1721 NW
2003 Dec 01
0
No subject
that your written english is not that bad.
And yes, getting Samba and Winbind setup correctly so that all your
authentication is being done through a pre-existing WinNT/Win2K primary
domain controller is great. Right now, I am only using winbind for
authenticating and restricting access to Samba shares. I would try out using
it for other things, but there is no reason to. We've already got a
2005 Oct 21
21
PHPonRails ?
I''ve have a very tight schedule project that MUST (not my option), be
developed in PHP. Is there a Rails based framework for this platform?
I like the Rails way of things, but in this case, I cannot choose the
programming language, so please don''t offend me :-)
Thanks in advance,
Alessandro
_______________________________________________
Rails mailing list
2000 Nov 29
0
Snapshot
I have just uploaded a new snapshot to
http://www.mindrot.org/misc/openssh/
Snapshot production is now automated - new snapshots will be made
at about 4:30 am (Australian Eastern time) and will be available from
the URL above.
This snapshot consists of mainly minor fixes over the previous.
The race when sshd exits which was causing data loss (as evidenced by
"ssh localhost dd
2006 Jul 07
2
Problem with GetText 1.6.0 - undefined method ''N_''
I''m just upgraded GetText from 1.4.0 to 1.6.0, and all my tests got broken.
I got this error:
ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.3/lib/active_record/base.rb:1129:in
`method_missing'': undefined method `N_'' for User:Class (NoMethodError)
etc
My model user.rb has this line:
validates_format_of :login, :with => /^[a-zA-Z0-9_]+$/, :message =>
2002 Feb 20
2
IT WORKS!!!
We're compiling a detailed solution for this problem... We'll be posting it
ASAP...
Julio Rojas
jrojasuft.edu.ve
----- Original Message -----
From: "Mats olsson" <mace2442@hotmail.com>
To: <jrojas@uft.edu.ve>; <samba-technical@lists.samba.org>
Sent: Wednesday, February 20, 2002 4:05 AM
Subject: Re: [Samba] IT WORKS!!!
> Howabout publishing the working
1998 May 29
0
aov design questions
R developers,
I have a first attempt to make an aov function. Eventually I want to
build in Error() structure, but first I am trying to get this
presentable for balanced data with only a single stratum, just using
residual error. I am following R. M. Heiberger's Computation for the
Analysis of Designed Experiments, Wiley (1989)
I a using a wrapper (aov.bal) to call the
2006 Apr 11
1
FeedValidator :: validating feeds RSS or ATOM
FeedValidator is an interface to the W3C Feed Validation online
service, based on its SOAP 1.2 support.
It helps to find errors in RSS or ATOM feeds.
FeedValidator add a new assertion (assert_valid_feed) which you can use
in Rails applications. This assertion implements a cache to improve the
performance of the tests and to not abuse of the W3C Feed Validation
online service.
= Download
The