Where I have said pressing "Signup" I should have said pressing "Signup"
filling in the form and then pressing "Create my Account"
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails
What routing error are you getting on the server?
On 12 May 2016 1:49 p.m., "Yuri Redaelli" wrote:
>
> Hi all,
>
> for first sorry for my english.
>
> I've a Rails app with a namespaced route that works fine on localhost
> but does not work on remote Server.
>
> This is my error:
>
> ActionContro
Hi all,
for first sorry for my english.
I've a Rails app with a namespaced route that works fine on localhost
but does not work on remote Server.
This is my error:
ActionController::RoutingError (uninitialized constant
Monitor::PapTagsController):
My routes.rb
namespace :monitor do
resour
Yes, you have to have tow_companies, not towcompanies in the resources: line.
Read up on how Rails ties everything together with CamelCasing -> snake_casing
conventions.
Walter
> On Feb 27, 2016, at 1:57 PM, Charles Hoff wrote:
>
> Tried restarting it, same thing, also tried the two things yo
Sorry, autocorrect fail. The thing missing in yours was the to: key, not the
value. Just add the to: part to what you had.
Walter
> On Feb 27, 2016, at 1:18 PM, Charles Hoff wrote:
>
> Appreciate your help,
>
> root to: 'towcompanies#index'
>
> (Still generates the same error)
>
> root to:
> On Feb 27, 2016, at 12:55 PM, Charles Hoff wrote:
>
> Hi, Im really new to rails and I am getting the error in the subject. I
> have followed the steps in a tutorial and I still get this error, not
> really sure why.
>
> My routes file is:
>
> Rails.application.routes.draw do
> resources :t
Hi, Im really new to rails and I am getting the error in the subject. I
have followed the steps in a tutorial and I still get this error, not
really sure why.
My routes file is:
Rails.application.routes.draw do
resources :towcompanies
root 'towcompanies#index'
end
Any input would be apprecia
On Sunday, December 27, 2015 at 11:17:20 PM UTC-5, Przemek Kosakowski wrote:
>
> Hello,
>
> Can you show us your routing file ?
>
I got it solved i had declared profiles as a nested resource under users,
but i still needed to declare it again, standalone
resources :profiles ~ thanks
--
You re
Hello,
Can you show us your routing file ?
W dniu pon., 28.12.2015 o 05:12 fugee ohu napisał(a):
> clicking this link in the view
> <%= link_to 'Profile', new_user_profile_path(@user) %>
> causes
> NoMethodError in Profiles#new undefined method `profiles_path'
> here's the route from rake routes
clicking this link in the view
<%= link_to 'Profile', new_user_profile_path(@user) %>
causes
NoMethodError in Profiles#new undefined method `profiles_path'
here's the route from rake routes
new_user_profile GET
/users/:user_id/profile/new(.:format)
profiles#new
On 13 July 2015 at 15:01, karthik sharma wrote:
> I am new to ruby on rails, by seeing tutorials i created blog, some
> complications are there but manged to get the home page and implemented
> bootstrap in that
>
> Now i have created project in rails but unable to get the path from public
> folde
I am new to ruby on rails, by seeing tutorials i created blog, some
complications are there but manged to get the home page and implemented
bootstrap in that
Now i have created project in rails but unable to get the path from public
folder in that application
the path goes like this
~/work
On 2 October 2013 20:29, Jose Urquidi wrote:
> I have this in my .html.erb code:
>
> $.ajax({
> url: "/timeMachineEdit",
> data: {editTimeMachine: newArray},
> type: 'POST',
> success: function (res) {
> if (res.result === 'ok') {
> alert('Data saved');
> } else {
> alert(
I have this in my .html.erb code:
$.ajax({
url: "/timeMachineEdit",
data: {editTimeMachine: newArray},
type: 'POST',
success: function (res) {
if (res.result === 'ok') {
alert('Data saved');
} else {
alert('Save error');
}
},
error: function () {
alert('Save erro
On Jul 21, 2013, at 6:06 AM, trekr67 wrote:
> Hi,
>
> I'm a newbie Ruby on Rails developer and have across the following problem:
>
> I've put an image on a page and want to be taken to twitter to be
> authenticated, when the image is clicked however I get the following error
> when I do:
>
Hi,
I'm a newbie Ruby on Rails developer and have across the following problem:
I've put an image on a page and want to be taken to twitter to be
authenticated, when the image is clicked however I get the following error
when I do:
ActionController::Routing error (No route matches [GET] "auth/
On 31 May 2013 16:09, Cameron D. wrote:
> Hello.
>
> So I created a new application (named guestbook), controllers, and
> entry(named sign_in) in Rails. I uncommented the "match
> ':controller..' and the 'root :to => 'welcome#index' lines in
> config/locales/routes.rb file. When I type
> "lo
Hello.
So I created a new application (named guestbook), controllers, and
entry(named sign_in) in Rails. I uncommented the "match
':controller..' and the 'root :to => 'welcome#index' lines in
config/locales/routes.rb file. When I type
"localhost:3000/entries/sign_in", I received the "Routing
In my controller I have
def update_project_dates
p "It is end date."
@user=User.find(params[:user])
@projects=Project.find_all_by_user_id(@user)
end
In the view page (only some part of the code is copied and pasted)
eventDrop: function()
{
(Original question was asked here:
http://stackoverflow.com/questions/11506734/routing-error-no-route-matches-when-omniauth-failed-on-registration
)
I am using omniauth-identity and configure its "fail on registration".
My files:
config/initializers/omniauth.rb
OmniAuth.config.logger = Rails
(Original question was asked here:
http://stackoverflow.com/questions/11506734/routing-error-no-route-matches-when-omniauth-failed-on-registration)
I am using omniauth-identity and configure its "fail on registration".
My files:
config/initializers/omniauth.rb
OmniAuth.config.logger = Rails.log
On Fri, Sep 14, 2012 at 8:55 PM, Colin Law wrote:
> On 14 September 2012 16:07, Mukesh yadav wrote:
> >
> > Hi Colin,
>
> Please don't top post it makes it more difficult to follow the thread,
> and makes it easy to forget to answer questions - see below.
>
> >
> > I did it(roll back to last wor
On 14 September 2012 16:07, Mukesh yadav wrote:
>
> Hi Colin,
Please don't top post it makes it more difficult to follow the thread,
and makes it easy to forget to answer questions - see below.
>
> I did it(roll back to last working commit) but the problem still persisted.
> No clue why it is be
Hi Colin,
I did it(roll back to last working commit) but the problem still persisted.
No clue why it is behaving like this.
Regards,
Mukesh
On Fri, Sep 14, 2012 at 8:23 PM, Colin Law wrote:
> On 14 September 2012 15:00, Mukesh yadav wrote:
> > Hi all,
> > In my Rails app there is a code in w
On 14 September 2012 15:00, Mukesh yadav wrote:
> Hi all,
> In my Rails app there is a code in which I have passed the two object to the
> nested url like this
> u_w_path(u, v)
>
> Now the thing is, It is working fine before but suddenly I am getting a
> routing error because of the object "u" c
Hi all,
In my Rails app there is a code in which I have passed the two object to
the nested url like this
u_w_path(u, v)
Now the thing is, It is working fine before but suddenly I am getting a
routing error because of the object "u" cannot be converted to
id(automatically).
It says No route
Hi,
It was some mistake on my part. I have resolved it.
Thanks & Regards.
On Thu, Jul 5, 2012 at 6:37 PM, CavalryJim wrote:
> Do you have a ss.css file in your public/stylesheets folder? If not, that
> is the problem.
>
> --
> You received this message because you are subscribed to the Google
Do you have a ss.css file in your public/stylesheets folder? If not, that is
the problem.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/y8NX
ss.css
On Wed, Jul 4, 2012 at 6:51 PM, Colin Law wrote:
> On 4 July 2012 14:12, Shalini Sah wrote:
> > Hi,
> >
> > I added a css file in public/stylesheets folder (I use Rails 3.0 so no
> asset
> > pipeline) and included it in my views by
>
> And the name of that file is?
>
> Colin
>
> >
> > "<
On 4 July 2012 14:12, Shalini Sah wrote:
> Hi,
>
> I added a css file in public/stylesheets folder (I use Rails 3.0 so no asset
> pipeline) and included it in my views by
And the name of that file is?
Colin
>
> "<%= stylesheet_link_tag 'ss', :media => :all %>"
>
> But I get a routing error on l
Hi,
I added a css file in public/stylesheets folder (I use Rails 3.0 so no
asset pipeline) and included it in my views by
"<%= stylesheet_link_tag 'ss', :media => :all %>"
But I get a routing error on loading my page in my logs.
"ActionController::RoutingError (No route matches "/stylesheets/
On Tue, Jun 5, 2012 at 9:56 AM, Martyn W. wrote:
> I dont understand why after failing the save in the controller and
> trying to render "new" it would give me a route matching error. Any
> ideas?
Yes - look at the log for that request :-)
--
Hassan Schroeder hassan.sc
I have a fairly straight forward rails app, version 3.2. When I try to
create a Work instance, with deliberately invalid fields from a form, I
get a routing error:
No route matches {:controller=>"works"}
This does not happen when I try the same test with an update on a Work
instance. After an
On 19 March 2012 16:12, Erwin wrote:
> in my routes.rb I have a route
>
> resources :projects do
> member do
> put "change_photo"
> end
> end
>
> checked with rake routes CONTROLLER=projects
>>> change_photo_project PUT /projects/:id/change_photo(.:format)
>>> projects#chang
in my routes.rb I have a route
resources :projects do
member do
put "change_photo"
end
end
checked with rake routes CONTROLLER=projects
>> change_photo_project PUT /projects/:id/change_photo(.:format)
>> projects#change_photo
from my projects#show I render a partial w
Hi guys
I have many different models and I want to reuse the same code for the
delete button.
So in my helper i have:
def delete_button(item_to_delete)
button_to t('buttons.delete'), :action => "destroy", :controller
=> item_to_delete.class.to_s.downcase.pluralize
end
Normally i work with pa
Head is spinning from trying to keep up with the various threads and email
aliases that seem to be trying to solve the same problem.
>From what I see, you've got a mess in your routes file. According to the
code you posted to this thread, you've got a resource defined plus two
non-resourceful rou
On Sat, May 28, 2011 at 7:25 AM, Chris Kottom wrote:
> By default, the HTTP verb for button_to is POST. If you really want to
> make the request as a GET, you need to do it as:
>
> button_to "New", :action => "click", :method => :get
>
>
> Well.I did it but failed.Same error persists.
> <%= but
By default, the HTTP verb for button_to is POST. If you really want to make
the request as a GET, you need to do it as:
button_to "New", :action => "click", :method => :get
On Sat, May 28, 2011 at 12:24 PM, John wrote:
> I made a button using "<%= button_to "New", :action => "click" %>" and h
I made a button using "<%= button_to "New", :action => "click" %>" and have
a method in controller as:
def click
end
In app/view/posts/click.html.erb file holds simple hello
message.In router.rb ,i added a route to click action of controller as but
error is there when i click
On 26 Apr 2011, at 10:51, amrit pal pathak wrote:
> Generated a controller "rails generate controller say" and then added
> a method to id named hello as.
You need to add a route to the action. Colin discussed this with you at some
length last week.
Fred
> def hello
> end
>
Generated a controller "rails generate controller say" and then added
a method to id named hello as.
def hello
end
Made a file /app/view/say/hello.html.erb
as "sudo gedit hello.html.erb" and add follwoing to it
Hello, Rails!
Hello from Rails!
Generated a controller "rails generate controller say" and then added
a method to id named hello as.
def hello
end
Made a file /app/view/say/hello.html.erb
as "sudo gedit hello.html.erb" and add follwoing to it
Hello, Rails!
Hello from Rails!
Phil
On Thu, Apr 14, 2011 at 6:29 PM, skt wrote:
> Hello,
>
> I am trying to use OmniAuth with Devise and I am stumbling on some
> initial step. When I go to localhost:3000/auth/twitter I get a routing
> error
>
> No route matches "/auth/twitter"
>
> I have the "gem omniauth" in my gemfile and
Hello,
I am trying to use OmniAuth with Devise and I am stumbling on some
initial step. When I go to localhost:3000/auth/twitter I get a routing
error
No route matches "/auth/twitter"
I have the "gem omniauth" in my gemfile and I have omniauth.rb where I
have setup twitter connection as below
R
My routes.rb reads at the top:
Hello::Application.routes.draw do
match ':controller(/:action(/:id(.:format)))'
and then all the commented material it comes with and an "end" at the
end of the file.
But when I type http://localhost:3000 into my browser I get the
following error message:
Routin
Hello,
I am getting a strange error when using rspec with nested routes
it 'succeeds' do
get :index, @parameters
response.should be_success
end
...
Failure/Error: get :index, @parameters
ActionController::RoutingError:
No route matches {:website=>#http://somewebsi
form_for @event, :url => add_attendees_event_path, :remote => true do |f|
try this
--
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@googlegroups.com.
To unsubscribe from this group, s
uncomment the last line in config/routes.rb like #match(controller:id
:format)
--
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@googlegroups.com.
To unsubscribe from this group, send
Hi Garrett!
I'm not exactly sure about this, but don't have you to specify :method =>
:post on this?
HTH Norbert
Top posted from Androidphone
Am 29.01.2011 02:00 schrieb "Garrett Lancaster" <
glanc...@garrettlancaster.com>:
> Hey guys, I've been banging my head on this one: doing a remote post
Hey guys, I've been banging my head on this one: doing a remote post with
= form_for @event, :url => add_attendees_event_path(@event), :remote =>
true do |f|
No route matches "/events/498/add_attendees"
#routes.rb
resources :events do
post :add_attendees, :on => :member
end
$ rake routes
Hey All,
Fairly new to all this, and having a routing problem I just cannot
figure out.
My routes.rb has:
--
resources :users do
member do
get 'following'
end
end
My users_controller.rb has:
--
def following
@title = "Following"
@user = User.find(p
Hi guys,
i have a model named "project" and i have created routes namespace:
namespace :project do
resources :inprocess do
get 'assign', :on => :collection
end
resources :suggested do
get 'select_list', :on => :collection
post 'select_list', :on => :collection
en
please post some code here yours controllers index method and routs.rb
line which contains this URL
On Mon, Dec 6, 2010 at 3:35 PM, Priya Buvan wrote:
> Hi All,
>
> While i'm trying to load a page in the browser, i'm getting the
> following error.
>
> No route matches "/applications/youtube/ind
Hi All,
While i'm trying to load a page in the browser, i'm getting the
following error.
No route matches "/applications/youtube/index.html" with {:method=>:get}
ActionController::RoutingError (No route matches
"/applications/youtube/index.html" with {:method=>:get}):
/usr/lib/ruby/1.8/action_
I've been banging my head against this for a while, and would love to
see someone prove that I am just overlooking something simple.
I am trying to add a custom route to my RESTful resource. Because
route is destructive, I want to use "POST" http method. If I hack my
routes.rb to use GET, everythi
>
> First of all , why arent you been restful?? your register action is the
> same as a new action, rails creates the right routes for it with
> resource :user if you name that action new instead of register, you can
> use the :as method to make it say what you want in the url string. second
> why
First of all , why arent you been restful?? your register action is the same
as a new action, rails creates the right routes for it with
resource :user if you name that action new instead of register, you can use
the :as method to make it say what you want in the url string. second why
are you test
my register.html.erb file is :
<% form_for :user do |form| %>
Enter Your Detail
Screen Name
Email
Password
<%end%>
and my user controller is
class UserController < ApplicationController
def index
end
def register
@title
if the page is static is has to be in the public folder and rails does not
interacts with it , its served by the webserver (webrick )
if its a static page but you are testing how tails work or is dinamic and
you put it in a app/views/ folder you could have a controller for it, then
rails works lik
On 8 September 2010 10:01, pauld wrote:
> Am working my way thru Ruby on Rails Tutorial: Learn Rails by Example
> and am on this page:
>
> http://railstutorial.org/chapters/static-pages#top
>
> Am getting problems when I create an HTML page in the public directory
> which is called public/hello.ht
Am working my way thru Ruby on Rails Tutorial: Learn Rails by Example
and am on this page:
http://railstutorial.org/chapters/static-pages#top
Am getting problems when I create an HTML page in the public directory
which is called public/hello.html and should appear as in Figure 3.3.
My problem is
Hi!
I deployed my app in my shared hosting. If I open dispatch.fcgi, i get
this error:
Routing Error
No route matches "/public/dispatch.fcgi" with {:method=>:get}
Before this app works fine in localhost. Whats wrong?
--
You received this message because you are subscribed to the Google Grou
hi
show your routes please
Ivan Nastyukhin
dieinz...@me.com
On Jun 16, 2010, at 10:31 AM, karnati kiran wrote:
> Hi All,
>
>
> $rails g controller Pages home contact
>
> then, I go to http://localhost:3000/pages/home
>
> I got
>
> Routing Error
>
> No route matches "/pages/contact"
>
Hi All,
$rails g controller Pages home contact
then, I go to http://localhost:3000/pages/home
I got
Routing Error
No route matches "/pages/contact"
How can I fix this problem?
Thanks!
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group
On Sat, Mar 20, 2010 at 1:52 AM, rjunee wrote:
> I'm hoping someone can advise me on how to debug this routing error.
>
> My routes.rb includes:
> resources :prospects, :only => ["create"]
>
> rake routes shows:
> prospects POST /prospects(.:format)
> {:controller=>"prospects", :action=>"create
I'm hoping someone can advise me on how to debug this routing error.
My routes.rb includes:
resources :prospects, :only => ["create"]
rake routes shows:
prospects POST /prospects(.:format)
{:controller=>"prospects", :action=>"create"}
However when I try to post a form I get:
Started POST "/
On 26 February 2010 20:47, John Wu wrote:
> Hi All,
>
> I am new to Ruby on Rails and have rails3 installed.
Did you really mean to start with rails 3? It is still under
development and you may well run into problems that are not of your
own making. If you are learning rails I would suggest ins
On Fri, Feb 26, 2010 at 12:47 PM, John Wu wrote:
> Hi All,
>
> I am new to Ruby on Rails and have rails3 installed.
>
> After I type this on the command line
>
> $rails g controller Pages home contact
>
> then, I go to http://localhost:3000/pages/home
>
> I got
>
> Routing Error
>
> No route matc
Hi All,
I am new to Ruby on Rails and have rails3 installed.
After I type this on the command line
$rails g controller Pages home contact
then, I go to http://localhost:3000/pages/home
I got
Routing Error
No route matches "/pages/contact"
How can I fix this problem?
Thanks!
--
Posted via
For some reason I can't figure out why I am getting a routing error when
I add Paperclip support. I have another test app when similar code is
working.
I created a new test app first without Paperclip support and it was
doing the CRUD operation fine. However when I added Paperclip support I
g
Hi,
I get a application running over:
Rails 2.3.5, Application is set 2.1.0 at enviroment.rb
Ruby: 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.2.0]
The Urls are generated right, but the resources like stylesheets,
javascripts are generated with double slashes.
ex: http://127.0.0.1:3000/
On Sun, Dec 6, 2009 at 8:16 AM, procedure...@gmail.com
wrote:
> Routing Error
>
> No route matches "/object1/object2/392" with {:method=>:get}
>
> object2 имеет view - object2.rhtml.erb and controller - object1.rb.
> Which contains a method:
>
> def object2
> �...@user = ObjectProfile.find(params[
Routing Error
No route matches "/object1/object2/392" with {:method=>:get}
object2 имеет view - object2.rhtml.erb and controller - object1.rb.
Which contains a method:
def object2
@user = ObjectProfile.find(params[:id])
end
help solve the problem please. I think the problem is routing.But I
I got a routing error when trying to create a note object from inside a
property object:
Routing Error
property_url failed to generate from {:action=>"show",
:controller=>"properties", :id=>nil}, expected: {:controller=>"properties",
:action=>"show"}, diff: {:id=>nil}
Here's what's go
Hi everyone,
I am running into a routing error when activating ssl.
Everything works fine, when I put
ssl_required :index
into the controller I get a routing error
Routing Error
No route matches "/meinkwikit" with {:method=>:get}
I installed the ssl plugin and putinclude SslRequirement i
Hi All
This piece of code works in Rails 1.2
But crashes in Rails 2.2.3
Processing ApplicationController#index (for 127.0.0.1 at 2009-08-21
10:22:23) [GET]
ActionController::RoutingError (No route matches "/images/crm.jpg"
with {:method=>:get}):
-e:2:in `load'
-e:2
Rendering rescues/layo
I tried posting this this morning but never saw it show up. I'll try
again.
I'm using InstantRails with Sqlite3. Last night I was able to access
my webpages just fine. This morning, none of them were working. Kept
getting the Routing Error message.
No routing.rb files were changed. THis is
Routing Error
No route matches "/cookbook" with {:method=>:get}
This problem started this morning, whereas it was working last night.
Occurring with all projects. No routing.rb files were changed by me.
I'm using InstantRails/Sqlite3 and Mongrel.
I don't even know how to start diagnosing this
I have a problem with my routing. When a user performs an illegal
checkout action (end time < start time) it should route back to to the
'checkout' action. However, it is instead going to the 'edit' action.
'rake routes'
users GET/users(.:format) {:controller=>"users",
Hi,
I updated my server with the latest Rails (2.3.2) and Passenger (2.2.2).
I also updated my Rails app to run under 2.3.2. It runs
fine locally under Mongrel.
The app is deployed into my own home directory under: (deployed via
Capistrano)
/users/me/public_html/myapp/current (which is a sym
Folks,
I am a little lost on a Routing error in accessing my javascripts and
stylesheets files on production and hopefully someone can help me.
Part of what is confusing me is that the same code that works fine on my
XP dev box is giving this Routing error when I put it up on the hosting
site in
I hope this will be an easy question...
I'm trying to migrate from Rails 1.2 to 2.1, and I must admit, the
routing is somewhat confusing me.
When I update a form, I'm getting a routing error. ("No route matches
{id}") It's because the update statement is getting assembled
incorrectly somehow an
I am using nested resources as follows:
map.resources :topics do |topics|
topics.resources :items do |items|
items.resources :attachments
end
end
When I generate a RESTful path for new item in the console:
app.new_topic_item_path(2) then I get correct path as
'/topics/2/items/ne
Hello,
I have set up an application using scaffolding, which have all
basic method(index/new/edit/show/..). But when I tried to add a new
method it showing routing errors.
~~~
class ItemsController < ApplicationController
def in
Hi,
I am to learning Ruby on Rails with Rolling with Ruby on Rails
orilley handout.
I created an empty application by using rails command.
Then i created my own controller using the command.
ruby script \generate controller MyTest
This created a new controller file.
I used the port http://12
I am using the DOM popup kit to create modal popups and am having
trouble getting popups to work in IE6 when they are not in my main
layout view. When they are not in the main layout view the popups
always display beneath the overlay and cannot be accessed. But when I
put them in my layout view,
87 matches
Mail list logo