Displaying 20 results from an estimated 2000 matches similar to: "older version of rails -- Unknown action error"
2008 Feb 20
1
link_to weirdness, related to namespace?
Hi,
In my app/views/admin/clieint/_searchresults.rhtml partial, I have ...
<% for user in @users %>
<tr>
<td><%=h user.ship_to_first_name %></td>
<td><%=h user.ship_to_last_name %></td>
<td><%=h user.email %></td>
<td align="center"><%= link_to ''Show'', {:action =>
2007 Mar 02
5
ActionController::RoutingError
plz give me the solution to solve the below error
ActionController::RoutingError
ActionController::RoutingError in Issues#new
Showing app/views/issues/_issue.rhtml where line #1 raised:
issue_url failed to generate from {:controller=>"issues",
:action=>"show", :id=>nil}, expected: {:controller=>"issues",
:action=>"show"}, diff:
2006 Jul 31
7
Problem with routes when I move the app to a different machine
Hi all:
I have an application that runs great on my macbook pro, however, when
I move the app to the production linux box, all routes fail except for
the one I set up as the default:
map.connect '':controller/:action/:id'', :controller => "Employee",
:action => "status"
I made sure the shebang line in dispatch.* was set to be OS
independent
2007 Aug 27
1
Error 500 when displaying after creating a controller
Hello,
I''m currently learning RoR but I''m facing yp to a displaying issue.
I created a RoR project via the command rails project in the OS Linux
Ubuntu
Then, I also created a controller:
sudo script/generate controller about
exists app/controllers/
exists app/helpers/
create app/views/about
exists test/functional/
create app/controllers/about_controller.rb
create
2006 Mar 28
8
1.1 broke my app
I upgraded to Rails 1.1 (ruby 1.8.2 and ruby 1.8.4 on RHEL 4 using
webrick or fastcgi) and all of a sudden I get this hitting a
controller:
wrong number of arguments (1 for 0)
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace |
Full Trace
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/base.rb:379:in
2008 Jan 30
2
Where can I get "authenticate_with_http_basic"?
Hi,
I just installed Rails 2.0.2
[root@mymachine easyx]# ruby --version
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]
[root@mymachine easyrx]# gem install rails --include-dependencies
Need to update 16 gems from http://gems.rubyforge.org
................
complete
Successfully installed rails-2.0.2
[root@remandev easyrx]#
But I''m getting this error in my restful_authentication
2008 Feb 14
4
How do I access this parameter?
Hi,
I have a form for creating users ...
<% form_tag ''userconfirm'' do -%>
<!-- more code -->
<p><label for="user_login">Username</label><br/>
<%= text_field ''user'', ''login'' %></p>
<p><label for="user_password">Password</label><br/>
<%=
2008 Feb 22
7
undefined local variable or method "acts_as_list"?
Hi, I''m getting the error below, and I''m not sure where to find
"acts_as_list" ...
NameError in SpecialsController#printer
undefined local variable or method `acts_as_list'' for #<Class:
0xb7a46994>
RAILS_ROOT: /usr/local/apache2/htdocs/dps
Application Trace | Framework Trace | Full Trace
vendor/plugins/trunk/lib/scope_out.rb:70:in
2006 Aug 01
11
strange bugs while using mongrel, while running in development (and also sometimes in production mode)
Following errors are taken from monrgrel running in development mode. It
complained routes.rb, no such file or directory and then sometimes i get
application.rb, no such file or directory.Doesn''t seem correct to me.
Though not so often, but even production servers throw these errors
sometimes, and i have no special routes setup or something.Its pretty much
default one, except few changes
2010 Apr 29
1
How can I integrate change_password plugin, dovecot and postfix
Hello
I use dovecot, postfix, mysql and squirrelmail as a mail server. it works
well. Meanwhile I am novice at postfix.
As you know, there is a change_password plugin on squirrelmail.
I wish to add change_password plugin on squirrelmail.
I couldn't find how to integrate postfix and change_password.
How can I add it ?
2010 Apr 29
1
How can I add change_password
Hello
I use dovecot, postfix, mysql and squirrelmail as a mail server. it works
well. Meanwhile I am novice at postfix.
As you know, there is a change_password plugin on squirrelmail.
I wish to add change_password plugin on squirrelmail.
I couldn't find how to integrate postfix and change_password.
How can I add it ?
2006 May 06
23
New Rails app is not working... I am missing something
Hi,
So I have two rails applications working on my box. Theya re both
tutorials that I walked through step by step.
Now I am trying to write my own application and something is not
working.
My server is OS X 10.3.x. I am using Apache 1.3.x as the webserver with
fcgi.
As I mentioned before all is well with the apps that I had walk through
tutorials with, but my app is not working.
I
2008 May 09
1
SSOAP: arguments passed as
Hi,
I have a SOAP service, provided by BioMoby
which I'd like to call via SSOAP.
My service breaks during genSOAPClientInterface()
genSOAPClientInterface(def=service, verbose = TRUE)
Operation MassBank_Simple_2
Error: Cannot resolve SOAP type in empty context
Problem seems to be that there are no <types> defined in the WSDL,
and that the service passes input/output as a single
2006 Jun 30
4
Strange behaviour from assert_redirected_to
I have this assertion in my tests:
assert_redirected_to :controller => ''user'', :action => ''change_password''
It fails with:
response is not a redirection to all of the options supplied
(redirection is <"http://test.host/user/change_password">),
difference: <{:controller=>"user"}>
The redirection was:
redirect_to
2007 Jan 16
4
Subdomain Account Keys Best Practice
Hi all,
I''m thinking of useing sub-domains as account keys, something I''ve played
with previously.
I have accounts and users, fairly standard, except that users can belong to
many accounts, and accounts can have many users.
So I figure I need to have an area on the main domain, that allows users to
view their account memberships and things. Sort of like a dashboard for
each
2007 Jun 15
4
404 Error in any controller/action on Media Temple
Hi everybody.
I''m a newbie on RoR. I have some experiencie developing in PHP or Java,
but I''m just starting with RoR.
A few days ago I signed up to the (gs) Grid Service on Media Temple.
This is my very first experience deplying RoR on a production
enviroment. Until now I just used the WebRick server on developement.
Well, the problem I''m having is that after
2005 Dec 21
1
ActionWebService and WSDL
The suggested approach for developing a web service using
ActionWebService appears to be start by defining the API you want and
then you can generate WSDL. I want to start from WSDL. I''ve tried
wsdl2ruby but the Ruby code it generates does not appear to play well
with Rails. Is there a way I can get what I want? I''m new at this so if
the answer is a forehead slapper,
2005 May 17
7
Basecamp API
Seeing as how the new Basecamp API reflects a similar use of RoR that
I have been working on I''m curious as to what we can expect to be
extracted from there in 0.13?
Was the API written as an ActionWebService or just as a set of controllers?
Any generic AR xml parsing/output methods that we may see in 0.13?
Any reason you decided to do everything with HTTP Get instead of
utilizing
2007 Nov 03
1
Newbie: What is WSDL?
# Allow downloading Web Service WSDL as a file with an extension
# instead of a file named ''wsdl''
map.connect '':controller/service.wsdl'', :action => ''wsdl''
That''s in the routes file, but what''s it for/mean?
Thanks!
Stedwick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you
2010 Jun 22
1
SSOAP fails with .types[[1]] : subscript out of bounds
Hi,
I am trying to create a BioMoby client in R using SSOAP.
BioMoby is a normal SOAP web service, with request
and response messages wrapped in BioMoby XML dialect.
Since the particular WSDL I am having problems with
is autogenerated and used similarly by *many* services,
it would be quite important to a) fix SSOAP or
b) fix the WSDL generator.
I am a bit lost how to continue debugging