Displaying 20 results from an estimated 191 matches for "home_url".
2011 May 21
5
simple home_url question
A silly as this sounds, I''m not sure how to set the route for the
home_path and home_url helpers. Google has nothing on this. Where do I
define what those paths should resolve to?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrai...
2007 Jul 12
3
Agh, this is annoying. Why is this happening?
...Task.should_receive(:user_id).with(@user.id).and_return(true)
Task.should_receive(:new).with(@params).and_return(@task)
do_post
end
it "should redirect to /tasks" do
Task.should_receive(:user_id).with(@user.id).and_return(true)
do_post
response.should redirect_to(home_url)
end
end
And my controller:
def create
@task = Task.new(params[:task])
@task.user_id = current_user.id
@task.status = Status.find_by_name(''in progress'')
respond_to do |format|
if @task.save
flash[:notice] = ''Task was successfully creat...
2015 Apr 01
2
os-release file doesn't match upstream?
...% cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
In particular note...
2020 Oct 10
1
Mail samba
Almost forgot
Domain controller(raspbian lite):
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs?
Domain member(ubuntu-server):
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=...
2007 Aug 27
2
send_file : downloaded file cannot be open after upload OK
...t.filename),
:type => @document.content_type,
:encoding => ''utf8'',
:disposition => ''attachment'',
:stream => ''true'',
:buffer_size => ''4096'')
redirect_back_or_default(home_url)
end
I got back the downloaded files... but i always get back a 16k whatever
it''s pdf or jpeg, and when I try to open them, I got an error :
Failed to find PDF header: `%PDF'' not found. for the pdf file and
corrupted or not recognized....
what''s wrong in my send_fi...
2019 Jul 07
4
Can't Connect With New Install
Thanks for your help.
I followed your suggestions and I'm getting basically the same thing.
I used your suggested smb.conf and created /home/pishare:
<mypi>:/ $ ls -l -d /home/pishare
drwxrwsr-x 2 root root 4096 Jul 7 12:17 /home/pishare
"pi" is a Unix and a Samba user.
Attempting to logon from Win 10 gives the same error messages.
Testing the connection as suggested in
2023 Jan 12
1
problems with sysvol after fsmo transfer
...release
NAME="openSUSE Leap"
VERSION="42.3"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="42.3"
PRETTY_NAME="openSUSE Leap 42.3"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:42.3"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
srv-kb-primdc:~ # uname -a
Linux srv-kb-primdc 4.4.76-1-default #1 SMP Fri Jul 14 08:48:13 UTC 2017
(9a2885c) x86_64 x86_64 x86_64 GNU/Linux
srv-kb-primdc:~ # smbd -V
Version 4.7.4 # (build from sources years ago)
and the new one:
srv-kb-dc1:~ # cat /etc/os...
2015 Apr 03
5
Installing HomeBank on CentOS 7.1
...elease
CentOS Linux release 7.1.1503 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.1.1503 (...
2015 Jun 08
4
Clients unable to get group policy...
...s running wheezy ?
>
> On my DC:
>
> root at dc01:~# cat /etc/os-release
> PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
> NAME="Debian GNU/Linux"
> VERSION_ID="7"
> VERSION="7 (wheezy)"
> ID=debian
> ANSI_COLOR="1;31"
> HOME_URL="http://www.debian.org/"
> SUPPORT_URL="http://www.debian.org/support/"
> BUG_REPORT_URL="http://bugs.debian.org/"
>
> root at dc01:~# uname -r
> 3.2.0-4-amd64
>
> root at dc01:~# ls /lib | grep x86
> x86_64-linux-gnu
>
> Rowland
>
--...
2015 Oct 09
1
[PATCH] inspect: Don't free uninitialized string.
...es = ["NAME=Fedora", "VERSION="20 (Heisenbug)"", "ID=fedora", "VERSION_ID=20", "PRETTY_NAME="Fedora 20 (Heisenbug)"", "ANSI_COLOR="0;34"", "CPE_NAME="cpe:/o:fedoraproject:fedora:20"", "HOME_URL="https://fedoraproject.org/"", "BUG_REPORT_URL="https://bugzilla.redhat.com/"", "REDHAT_BUGZILLA_PRODUCT="Fedora"", "REDHAT_BUGZILLA_PRODUCT_VERSION=20", "REDHAT_SUPPORT_PRODUCT="Fedora"", "REDHAT_SUPPORT_PROD...
2006 Jul 11
0
Named routes raising exception
Hi,
I''m trying to follow some of the Rails Recipies, in particular the
authentication one. In the logout action there is redirect_to home_url. I''ve
tried to set up a route using map.home_url '''' in the routes.rb file. That
seems to cause an error
> undefined local variable or method `home'' for #<AdminController:0x3ab97f0>
>
> I understand the power and convenience of named routes, and th...
2007 Jul 17
12
Getting past my login system
Thank you in advance for your help. I am relatively new to both Rails
and Rspec and I am hoping for some insight from some experienced veterans.
Right now I am using Rspec for code that has already been written so
that additional functionality can be developed using the BDD method. My
problem shows up when I try to spec controllers that are behind the
login system. Each page checks for the
2006 Apr 01
3
Can I do a redirect in an ajax request?
I''ve got a form on my page, and when the user submits it, sometimes
I''d like to update an element on my page, and sometimes I''d like to
redirect the browser to another url entirely. However if I do
redirect_to, it just updates the element with the results of the
redirect. Is it possible to do what I want, or will I need to use RJS
to do this?
Pat
2018 Apr 12
0
issues with replicating data to a new brick
...readdir-ahead: on
diagnostics.latency-measurement: on
diagnostics.count-fop-hits: on
root at chastcvtprd04:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.3 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.3 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
root at chastcvtprd04:~# uname -a
Linux chastcvtprd04 4.4.0-109-generic #132-Ubuntu SMP Tue Jan 9
19:52:39 U...
2016 Feb 15
2
APC Back-UPS BX1400U
...#39;ll (tyr
to) provide it!
Raspberry PI OS information:
torsten at raspberrypi:/ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
torsten at raspberrypi:/ $
torsten at raspberrypi:/ $ lsusb
Bus 001 Device 004: ID 051d:0002 American Power Conversion
Uni...
2015 Apr 04
1
Installing HomeBank on CentOS 7.1
...gt; VERSION="7 (Core)"
> > ID="centos"
> > ID_LIKE="rhel fedora"
> > VERSION_ID="7"
> > PRETTY_NAME="CentOS Linux 7 (Core)"
> > ANSI_COLOR="0;31"
> > CPE_NAME="cpe:/o:centos:centos:7"
> > HOME_URL="https://www.centos.org/"
> > BUG_REPORT_URL="https://bugs.centos.org/"
> >
> > CENTOS_MANTISBT_PROJECT="CentOS-7"
> > CENTOS_MANTISBT_PROJECT_VERSION="7"
> > REDHAT_SUPPORT_PRODUCT="centos"
> > REDHAT_SUPPORT_PRO...
2023 Jan 13
1
problems with sysvol after fsmo transfer
...ERSION="42.3"
> ID=opensuse
> ID_LIKE="suse"
> VERSION_ID="42.3"
> PRETTY_NAME="openSUSE Leap 42.3"
> ANSI_COLOR="0;32"
> CPE_NAME="cpe:/o:opensuse:leap:42.3"
> BUG_REPORT_URL="https://bugs.opensuse.org"
> HOME_URL="https://www.opensuse.org/"
> srv-kb-primdc:~ # uname -a
> Linux srv-kb-primdc 4.4.76-1-default #1 SMP Fri Jul 14 08:48:13 UTC 2017
> (9a2885c) x86_64 x86_64 x86_64 GNU/Linux
> srv-kb-primdc:~ # smbd -V
> Version 4.7.4 # (build from sources years ago)
>
>
> and t...
2023 Apr 07
3
[Bug 1671] New: Implicit chains and nesting result in parser_bison.y aborting
...p {
ip version 4 accept
}
}
}
# nft --version
nftables v0.9.8 (E.D.S.)
# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root at front-h2:/usr/local/etc/firewall/nested-chain-bug# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/...
2006 Aug 14
2
Change password
Is there an addition to the Rails Recipe or the method in AWDWR to allow
a user to change his/ her password? I have put something together that
does all the work again - mostly because I''m not sure how to leverage on
methods like ''password='' that are defined in the model. Has anyone got
a ready sample that I could learn from?
Right now, I''m basically
2023 Jan 12
1
problems with sysvol after fsmo transfer
On 12/01/2023 12:51, Rowland Penny via samba wrote:
>
>
> On 12/01/2023 12:28, Thorsten Marquardt via samba wrote:
>>
>> Okay back to the start an I try again. This time role by role. Here I
>> don't get timeouts (why do they come up with role=all ?) and I'm not
>> prompted for password of DOMAIN\root
>
> You should never get prompted for the