Displaying 3 results from an estimated 3 matches for "sessions_path".
Did you mean:
session_path
2013 Jan 09
2
Rails 3.2.10 and Rspec Tests that Fail?
..."
but the were no matches.
The application code( I am showing just the first three lines since
the rest are the attributes for this view):
app/views/sessions/new.html.haml
- provide(:title, ''Sign in'')
%h2 Sign in
= form_for(:session, url: sessions_path) do |f|
...
...
It looks to me that I have all the necessary features in place for the
test to pass. So it can only mean that something else is the problem,
maybe the syntax of the test has changed?
Does anyone have some thoughts on this?
Thanks.
--
You received this...
2007 Dec 20
0
Relative URL fix
...do with your
facebook app.
Here is the current problem:
Take for example a resource named sessions and ENV
[''FACEBOOKER_RELATIVE_URL_ROOT''] = ''facebook_app''. Sessions has
nothing to do with your facebook app yet as Facebooker is written
presently "sessions_path" will produce "facebook_app/sessions/" even
if the sessions controller doesn''t call any of the facebooker
before_filters.
Part of the reason for this is that the url_writing methods add the
key :skip_relative_url_root to the options hash for the url_rewrite
method....
2008 Jun 30
1
Help with form_for
Hello, I had an app running on RoR 1.1, now I''m migrating it to 2.1.
In a view I have:
<div id="user_management">
<fieldset>
<legend>Please log in</legend>
<% form_for(:user, :url => sessions_path) do |f| %>
<p>Username: <span class="notice"><%= flash[:notice]%></
span></p>
<%= f.text_field :username %>
<p>Password:</p>
<%= f.password_field :password %>
<%= submit...