Displaying 20 results from an estimated 52 matches for "user_paths".
2001 Feb 20
1
_PATH_STDPATH and @bindir@
Sorry if this is stuff that's been talked about before. If it is, just
ignore me.
I'm curious to know why Portable OpenSSH doesn't include @bindir@ in
the _PATH_STDPATH. This would save most installers of portable OpenSSH
from having to --with-default-path=$PREFIX/bin in order to ensure that
scp will work properly. This would also, I imagine, save quite a lot
of hassle for
2001 Feb 12
3
add scp path to _PATH_STDPATH
what do you think about this patch to add the path to scp to
_PATH_STDPATH? is there a better or cleaner way to do this? i'm hoping
to ward off 'scp doesn't work' questions for the next release.
i did *not* add this to a --with-default-path path, because if a user
specifies that, they should control its value completely.
Index: Makefile.in
2008 Feb 29
3
How to DRY REST admin path in URLs?
Hi everyone...
For almost all of my objects I put a series of classic REST admin links
in views. For example, for a ''user'', I have
<%= link_to "Show", user_path(user) %>
<%= link_to "Edit", edit_user_path(user) %>
<%= link_to "Destroy", user_path(user), :confirm => "Are you sure",
:method => :delete %>
I am tired
2012 Feb 05
4
Rspec and restful routes
Hi all,
I''m trying to test that my users show page renders. The resource has
the route /users/:id
How would I code that for an Rspec test? So far I''ve tried these four
ways:
it "should have a users show path" do
get user_path(:action => ''show'')
end
it "should have a users show path" do
get user_show_path
end
it "should have
2008 Jan 29
4
map.resources for controllers in a module
Hello-
I''m giving RESTful development a shot. I''m running into some difficulty
with controller I have grouped into modules. Specifically, I have a
"admin" module with a "user" controller (created with "generate
controller admin/user"). I managed to get map.resources wired up with
this code:
map.resources Admin::User, :path_prefix =>
2002 Mar 29
2
scp : Problems with pathing
Hi,
I'm sure I'll get a few "RTFM", but I hope I'll allay those feelings.
I'm getting the "scp: command not found". I've read the FAQ. I've
read bugs 42 and 82 in bugzilla. Hopefully, I didn't overlook something.
At a minimum, defines.h has :
#ifdef USER_PATH
# ifdef _PATH_STDPATH
# undef _PATH_STDPATH
# endif
# define _PATH_STDPATH
2007 Aug 08
5
Can''t seem to spec a ActiveRecord::RecordInvalid exception properly...
1 def create
2 @user = User.new(params[:user])
3 @user.save!
4 self.current_user = @user
5 redirect_to user_path(@user)
6 flash[:notice] = "Thanks for signing up!"
7 rescue ActiveRecord::RecordInvalid
8 render :action => ''new''
9 end
I can''t seem to properly spec this out. I am trying numerous things, the
latest one is
2012 Aug 07
9
How do I force link_to/form helpers to use the superclass name in the path instead subclass?
I want my helpers to generate paths using a superclass instead of the
subclasses. Assuming I have Owner and Member that both inherit from User,
rails will use the current objects class name when generating paths:
Let''s say current_user is a mod: <%= link_to current_user.name,
current_user %> will generate "/mod/:id". I want to force it to generate
2002 Jan 25
3
[Bug 82] scp: Command not found errors
http://bugzilla.mindrot.org/show_bug.cgi?id=82
djm at mindrot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From djm at mindrot.org 2002-01-26 10:14
2002 Jul 08
1
PATH problem in Irix.
I recently compiled openssh 3.4p1 for SGI Irix, and found the same problem
I'd had with 2.5.
Viz. that Irix /usr/include/paths.h defines _PATH_USERPATH, not USER_PATH,
so that defines.h doesn't find it and we get the default, which is missing
/usr/bsd (which on Irix has things like head, more, lpr) and /usr/bin/X11.
This annoys the users, who want X11 to work.
I added a test to
2001 Feb 13
1
scp not found - OpenSSH 2.3.0p1 on slack 7
hi,
let me start by saying ive tried everything i can think of with the --with-default-path configure flag.
USER_PATH in config.h is correctly getting the value of this flag.
i am installing to the default locations (user binaries to /usr/local/bin).
ssh works fine, (after i did the LIBS=-lcrypt thing) but now, no matter what i do, i get "sh: scp: command not found" whenever i try to
2013 Oct 12
0
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...$success = 0;
+ last ZYPPER;
+ }
+ }
+ }
+ }
+
+ return $success;
+}
+
sub _install_config
{
my ($kernel_naevr, $install, $upgrade, $g, $root, $config) = @_;
@@ -1806,6 +2056,7 @@ sub _install_config
}
}
+
my @user_paths = _get_deppaths($g, $root, $config,
\@missing, $g->inspect_get_arch($root),
@$user);
@@ -1814,11 +2065,33 @@ sub _install_config
'files referenced in the configuration file are '.
'required, but missing: {list}...
2013 Nov 07
6
[PATCH 0/4] virt-v2v: Add support for SUSE guest conversions
The following series of patches adds support for converting SUSE guests
through virt-v2v. These changes should not impact non-SUSE guest conversions.
Mike Latimer (4):
Add perl-Bootloader support to grub packages
Add conversion support for SUSE guests
Add SUSE to capabilities db and conf
Add SUSE support documentation
lib/Sys/VirtConvert/Converter/Linux.pm | 480
2013 Oct 11
2
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...$success = 0;
+ last ZYPPER;
+ }
+ }
+ }
+ }
+
+ return $success;
+}
+
sub _install_config
{
my ($kernel_naevr, $install, $upgrade, $g, $root, $config) = @_;
@@ -1806,19 +2068,42 @@ sub _install_config
}
}
+
my @user_paths = _get_deppaths($g, $root, $config,
- \@missing, $g->inspect_get_arch($root),
@$user);
+ \@missing, $g->inspect_get_arch($root),
@$user);
# We can't proceed if there are any files missing
v2vdie __x('Install...
2008 May 28
3
Newbie: Searcing database via user form input?
Does anyone have a tutorial on adding new parameters to the paramaters
list and then creating find conditions around them?
I''m wondering how I can get my index page to list only the items where
some of the the databases fields match user form input. index.html.erb
would be calling itself with a new parameter :searchdata
So far the index.html.erb has...
<% form_tag({ :action =>
2008 Apr 09
3
form_tag and form_for cause #protect_from_forgery errors
Hey All,
I''m trying to do a simple form_for (and I also get it with form_tag)
and I''m getting the following error:
ActionView::TemplateError (No :secret given to the
#protect_from_forgery call. Set that or use a session store capable
of generating its own keys (Cookie Session Store).) on line #2 of
users/new.fbml.erb:
1: <h1>Welcome To Courses, Let''s Get
2002 Jan 25
2
[Bug 82] New: scp: Command not found errors
http://bugzilla.mindrot.org/show_bug.cgi?id=82
Summary: scp: Command not found errors
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: scp
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: steve_dum at
2011 Jul 19
0
Ruby on Rails Tutorial Chapter 8 Signup Success
I have written the Users controller and Spec tests correctly for the
"successful creation" in the User controller however I get the
following two errors:
1) UsersController POST ''create'' success should create a user
Failure/Error: lambda do
count should have been changed by 1, but was changed by 0
#
2013 Oct 07
3
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
On Friday, October 04, 2013 09:38:58 AM Matthew Booth wrote:
> It's specifically an error if we're attempting to configure virtio, and
> there's no detected virtio kernel. It shouldn't have been possible to
> get here in that state, hence it's a programmer error. The code below
> attempts to install *any* kernel in the case that we aren't configuring
>
2007 Sep 30
9
Problems with testing nested routes using mocking
Hello forum
I have there to files
#----- virtual_host_controller.rb
class VirtualHostsController < ApplicationController
before_filter :capture_domain
# GET /domain/1/virtual_hosts/1
def show
@virtual_host = @domain.virtual_hosts.find(params[:id])
respond_to do |format|
format.html # show.rhtml
end
end
private
def capture_domain
if