Displaying 20 results from an estimated 80 matches similar to: "controllername_url vs controllername_path"
2008 Mar 01
2
No route matches with {:method=>:get} Error in AWDWR Book
Hi I''m working on the AWDWR book and I''m on the admin section of the
book. I have rails 2 installed on my machine and I have ran into an
error when I created my controller login but when I go to
http://localhost:3000/login/index I get this error:
No route matches "/login/index" with {:method=>:get}
I haven''t touched the routes.rb file and when I generated
2007 Sep 25
2
attachment_fu default path
Hi all. I''ve done a little google search, but doesn''t find anything
(with "attachment_fu default path") that could help me in changing
attachment_fu''s default path.
My model:
[audio.rb]
has_attachment :max_size => 20.megabytes
has_attachment :content_type => "audio/mpeg"
has_attachment :storage => :file_system
2008 Mar 16
3
undefined method `redirect_to'
Hi all. I''m getting the following error in my app:
undefined method `redirect_to'' for ActionController::Base:Class
I''m using Windows 2000, Rails 2.0.2 and resource_controller (from
James Golick).
My controller:
class CommentsController < ApplicationController
include ResourceController::Controller
belongs_to :post, :article, :photo
create do
2007 Aug 17
1
Scaffold (Agile Web Development With Rails)
What am I doing wrong here?
[app/controllers/admin_controller.rb]
class AdminController < ApplicationController
before_filter :authorize
def index
list
render :action => ''list''
end
# GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
verify :method => :post, :only => [ :destroy, :create, :update ],
2004 Jun 18
2
Replacing a W2K box with a Samba box
I need to replace a Windows 2000 Server with a Samba box.
The W2K is the only domain controller in the network and it runs Active
Directory.
I know the Samba-3 limitations as an Active Directory Domain Controller,
but I don't need absolutely all the features.
What I would ideally need is:
* Single Sign On
* .adm policy files support (for client security and use restrictions -
clients are
2009 Jan 13
9
Updating multiple databases at the same time
I have an application that is load balanced. I have a master database
which I update once a day. Then I push the raw mysql files to all other
servers so they are the same as the master. This works fine, but there
are a few situations where I need all databases to update in real-time.
What would be the best way to achieve this in rails?
Here is an example of what I am trying to do. I want to
2007 Nov 03
0
http://manuals.rubyonrails.com didn't working?
I can''t access http://manuals.rubyonrails.com and it gives me 404 error.
Someone knows what''s going on?
Thanks
--
Davi Vidal
--
E-mail: davividal-UiHwsRqXctc1RhZgQKG/ig@public.gmane.org
MSN : davividal-uAjRD0nVeow@public.gmane.org
GTalk : davividal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Skype : davi vidal
ICQ : 138815296
2006 Aug 17
1
More on n-way.
Hey, i found some n-way threads on the list, but I think they don`t
solve my case, or I didn`t understand how all of it works. I''m new to
Rails, so be pacient. :)
I''ll use an example of movie catalog, I''m realing doing a kind of
movie catalog, for laerning rails, and I did this:
Models:
Movie, Actor, Director, Writer, Country, Language
The Movie model HABTM Actor,
2008 Mar 06
2
Not using "." as separator?
When using maildir storage, is there any way to use something
besides "." as the folder separator?
I like to use folder names that match people's e-mail addresses
(that's a default behavior in mutt), and "." is a pretty
popular character in e-mail addresses. Ideally, I'd like to
use "/".
Is "." allowed in mailbox names when using mbox
2006 Dec 02
2
nonlinear quantile regression
Hello, I?m with a problem in using nonlinear quantile regression, the
function nlrq.
I want to do a quantile regression o nonlinear function in the form
a*log(x)-b, the coefficients ?a? and ?b? is my objective. I try to use the
command:
funx <- function(x,a,b){
res <- a*log(x)-b
res
}
Dat.nlrq <- nlrq(y ~ funx(x, a, b), data=Dat, tau=0.25, trace=TRUE)
But a can?t solve de problem,
2016 May 18
4
passwd mismatch
I have been trying to follow the "instructions" at
"http://blog.iandreev.com/?p=1975#dovecot" and they seem to be pretty
good. everything works until I get to the part were I test the dovecot
installation and it keeps failing.
I get an AUTH fail error at the "telnet localhost 110" login commands
I am trying to setup 3 domains:
domain1.us
domain2.com
domain3.com
I
2005 May 24
2
Basic matematical functions with NAs
Dear All,
I've tried to sum columns -- different species of flowers, fruits plus twigs -- with NAs to get litterfall/trap, and then after use litterfall to calculate production (litterfall (grams)/ hectare/ day. But R 'sees' litterfall/trap as a string.
My question: How to use basic mathematical functions to deal with NAs in data management.
Example (as you can note I have many
2012 Mar 17
1
importing plain mboxes to dovecot maildirs
Is there way to import old plain mboxes via dsync? It complains about
lack of index files:
ponto:(admin)~>dsync mirror mbox:~/mail
dsync(admin): Error: Failed to sync mailbox sent-mail: Mailbox GUIDs are
not permanent without index files
dsync(admin): Error: Failed to sync mailbox saved-messages: Mailbox
GUIDs are not permanent without index files
dsync(admin): Error: Failed to sync mailbox
2008 Nov 12
1
gem ruby-sqlite3 install error
i am tryin' to install ruby-sqlite3 via gem, but it keeps givin' me this
output:
mathilda ~ # gem install sqlite3-ruby
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb install sqlite3-ruby
checking for fdatasync() in -lrt... no
checking for sqlite3.h... no
make
make: *** No
2011 Aug 08
2
current maturity Samba 4
Hello, it would be nice to know in the community as it is the maturity of
the fourth samba at putting in a production environment.
It would be wise to put the Samba 4 in a production environment, or would play
the most recommended solution samba + openldap?
Att, Victor
--
?Encarada do ponto de vista da juventude, a vida parece um futuro
indefinidamente longo, ao passo que, na velhice, ela
2003 Aug 11
1
Strange "feature"
Hi all!
Doing my first steps with OCFS (1.0.9), I ran across a nifty little
"feature"....
We've been trying if DMP with QLogic 2300 HBAs works without having DMP
activated (ok, blame on me...).
ocfstool allows you to mount different partitions on the same mountpoint, but
after we tried that, everything went to state "D" and we chose to reboot the
whole cluster (4
2016 Jan 19
2
Samba 4 and Windows 10 Problem.
For my home server i did it like this.
Share \\server\backups
[backups]
path = /media/sambashares/backups
read only = No
by default everybody had full control on the share.
Rights on the folder are 777
In this share/folder i have proctect folders.
Like :
/media/sambashares/backups/louis
/media/sambashares/backups/mywife
I created a linux user with the same name as i use in
2011 Jun 17
4
Bartlett's Test of Sphericity
Hello Dear R user,
I want to conduct a Principal components analysis and I need to run two
tests to check whether I can do it or not. I found how to run the KMO
test, however i cannot find an R fonction for the Bartlett's test of
sphericity. Does somebody know if it exists?
Thanks for your help!
Thibault
[[alternative HTML version deleted]]
2009 Mar 10
1
North Arrow (.png file) on a Map
Hi list.
I would like to know how do I insert a North arrow, stored as a png file in
my computer, in a map? I found lots of post asking similar things, one of
them mentioned the pixmap package. The map was done using map() and
shapefiles (the code is below). I’m using the pixmap () and addlogo()
functions. Well I can import the png with pixmap() function (I guess, once
there’s no error message),
2012 Oct 10
1
StartonRails na [:koshtech] @ Thu 2012-10-11 19:00 - 22:00
Aguardo-os amanhã.
Confirmem presença aqui, por favor.
---------- Forwarded message ----------
From: Google Calendar <calendar-notification-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
Date: 2012/10/9
Subject: Reminder: StartonRails na [:koshtech] @ Thu 2012-10-11 19:00 -
22:00
To: Fernando Kosh <fernando.kosh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
more details