Displaying 12 results from an estimated 12 matches for "home_path".
Did you mean:
some_path
2007 Jul 05
2
Modify home_path
Hello guys,
Can any body help me with this small problem: I put restriction on
some pages of my application if a person wants to enter a restricted
page he would be forwarded to the list page with access denied
message.
I did everything as it should be but I was forwarded to a missing page
(Page not found)
I know this is a simple question, but i''m stuck and I couldn''t find a
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...
2007 Jan 17
1
Machine account in Users home
Hello, Am i suppose to see win machine names in users home? they are created
when users login using their workstations
here is my home directory
[cat@itbox CAD]$ ls -l
total 20
drwx------ 3 ad01$ Domain Computers 4096 Jan 17 17:57 ad01_
drwx------ 3 administrator Domain Users 4096 Jan 17 17:59
administrator
drwx------ 3 cat Domain Users 4096 Jan 17
2008 Aug 30
3
Working with sessions in beast forum
...:invalid_login_message]
end
end
def successful_login
cookies[:login_token] = {:value =>
"#{current_user.id};#{current_user.active_login_key}", :expires =>
1.year.from_now.utc} if params[:remember_me] == "1"
redirect_to CGI.unescape(params[:to] || home_path)
end
end
If anyone could help, I''d really appreciate it.
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk-/JYPxA3...
2007 Aug 15
4
nuby: how spec redirect_to at ApplicationController
...rected
and got NoMethodError with nil object didn''t expect error."
end
end
class ApplicationController < ActionController::Base
# using it with before_filter
def login_required
# I took out everything except redirecting to make the point simple
redirect_to home_path # tried also redirect_to "/"
end
end
However the code does work manually testing with browser.
Thanks for any help,
Priit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070816/9f4d994e/attachmen...
2008 Mar 31
10
Problems with *_path() and *_url() helpers when using Publisher
Hello,
I am running into issues using *_path() and *_url() helpers the
Facebooker Publisher framework. I encounter the following error when
using these helpers while *inside of a partial*:
undefined method `default_url_options'' for ActionView::Base:Class
I''ve seen a few other people speak about this issue, yet I haven''t
seen any resolution on the mailing list yet.
2007 Oct 04
1
Cookies in RSpec
So how do you work with cookies properly in rspec now? I noticed in
the docs that it mentions session, assigns, and flash, but nothing of
cookie. I''m using edge rails so I''m concerned about changes to the
cookie mechanisms. I need to assign values into the cookie (a
remember token for restful authentication) so that I can have it log
in by cookie. here is my spec
2007 May 17
0
Preemptive answer on idmap error
...Samba and Winbind (service smb start, service winbind start).
I was delighted to find my missing users appear when I typed "getent passwd
| grep -i missing_user".
You should perform the additional step of verifying ownership to avoid a
call back by the user: "chown -R Domain+user /home_path/user" where + is
your Winbind separator.
I don't know what caused the initial problem (apparently the corruption of
one of the tdb files), but it might have been a loss of network connectivity
to the DC. Hopefully, Winbind can recover from such problems on its own
either in a newer ve...
2007 Sep 22
1
Testing RESTful routes
Hi all,
The app I am making right now uses restful routing entirely. I want to
prevent people from accessing my actions without the proper HTTP verb so
I commented out the :controller/:action/:id catch all routes that were
used in pre-RESTful Rails apps. Like so:
#map.connect '':controller/:action/:id.:format''
#map.connect '':controller/:action/:id''
2013 Nov 20
2
How come that module is not executed in Windows?
...mounted and ssh into vm, I can find files in the following path
[default] -- /tmp/vagrant-puppet/manifests
[default] -- /tmp/vagrant-puppet/modules-0
I do see base-hadoop.pp is executed and things are installed. But init.pp
under module folder is not executed
my file structure in windows is
%HOME_PATH%\hadoop\ (under this i have vagrant file)
\manifests (under this I have
base_hadoop.pp)
\modules
\hadoop...
2012 Oct 26
7
How to use Ajax with rails ?
Hi all,
Can any one tell me how to use Ajax with Rails.
Send me quick start up link and videos.
Thanks
Regards
Fahim Babar PAtel
--
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this
2008 Jan 08
47
specs on private methods
How does a person test private methods?
Is there a way to declare them as private, but retain any tests that
were written during the initial development?
Thanks.
--
Posted via http://www.ruby-forum.com/.