I have a site that works completely correctly locally and when I use git push heroku master it seems to work fine, but then when I actually open up the heroku site in my browser I just get a message "We're sorry, but something went wrong. We've been notified about this issue and we'll take a look at it shortly." I have no idea why this might be happening. Can someone please suggest possible reasons for why this might be happening and where I should begin to debug this problem? (Or if you know right off the bat how to solve it that's even better)
Here is my heroku logs file:
$ heroku logs
←[36m2011-06-22T15:04:56+00:00 app[web.1]:←[0m AND a.attnum > 0 A
ND NOT a.attisdropped
←[36m2011-06-22T15:04:56+00:00 app[web.1]:←[0m ORDER BY a.attnum
←[36m2011-06-22T15:04:56+00:00 app[web.1]:←[0m ):
←[36m2011-06-22T15:04:56+00:00 app[web.1]:←[0m 3: <nav class="round">
←[36m2011-06-22T15:04:56+00:00 app[web.1]:←[0m 4: <ul>
←[36m2011-06-22T15:04:56+00:00 app[web.1]:←[0m 5: <li><%=
link_to "Home", root_path %></li>
←[36m2011-06-22T15:04:56+00:00 app[web.1]:←[0m 6: <% if si
gned_in? %>
←[36m2011-06-22T15:04:56+00:00 app[web.1]:←[0m 7:
<li><%= link_to "Profile", current_user %></li>
←[36m2011-06-22T15:04:56+00:00 app[web.1]:←[0m 8: <% end %
>
←[36m2011-06-22T15:04:56+00:00 app[web.1]:←[0m app/helpers/sessions_helper.rb:
32:in `current_user'
←[36m2011-06-22T15:04:56+00:00 app[web.1]:←[0m app/helpers/sessions_helper.rb:
14:in `signed_in?'
←[36m2011-06-22T15:04:56+00:00 app[web.1]:←[0m app/views/layouts/_header.html.
erb:6:in `_app_views_layouts__header_html_erb___4148554853093522439_33446860__59
0688683808415561'
←[36m2011-06-22T15:04:56+00:00 app[web.1]:←[0m app/views/layouts/application.h
tml.erb:10:in `_app_views_layouts_application_html_erb__576924491411701191_33609
960_2126834257218669256'
←[33m2011-06-22T15:04:56+00:00 heroku[router]:←[0m GET growing-dusk-285.heroku.c
om/favicon.ico dyno=web.1 queue=0 wait=0ms service=4ms status=200 bytes=0
←[36m2011-06-22T16:06:21+00:00 heroku[web.1]:←[0m Idling
←[36m2011-06-22T16:06:28+00:00 heroku[web.1]:←[0m Stopping process with SIGTERM
←[36m2011-06-22T16:06:28+00:00 app[web.1]:←[0m >> Stopping ...
←[36m2011-06-22T16:06:28+00:00 heroku[web.1]:←[0m Process exited
←[36m2011-06-22T16:06:31+00:00 heroku[web.1]:←[0m State changed from up to down
←[32m2011-06-24T18:49:29+00:00 heroku[slugc]:←[0m Slug compilation started
←[35m2011-06-24T18:50:32+00:00 heroku[api]:←[0m Deploy 95e629a by danidickstein#
yahoo.com
←[35m2011-06-24T18:50:32+00:00 heroku[api]:←[0m Release v6 created by danidickst
ein#yahoo.com
←[32m2011-06-24T18:50:32+00:00 heroku[slugc]:←[0m Slug compilation finished
←[36m2011-06-24T18:50:41+00:00 heroku[web.1]:←[0m Unidling
←[36m2011-06-24T18:50:41+00:00 heroku[web.1]:←[0m State changed from down to cre
ated
←[36m2011-06-24T18:50:41+00:00 heroku[web.1]:←[0m State changed from created to
starting
←[36m2011-06-24T18:50:46+00:00 heroku[web.1]:←[0m Starting process with command:
`thin -p 36055 -e production -R /home/heroku_rack/heroku.ru start`
←[36m2011-06-24T18:50:49+00:00 app[web.1]:←[0m >> Thin web server (v1.2.6 codena
me Crazy Delicious)
←[36m2011-06-24T18:50:49+00:00 app[web.1]:←[0m >> Maximum connections set to 102
4
←[36m2011-06-24T18:50:49+00:00 app[web.1]:←[0m >> Listening on 0.0.0.0:36055, CT
RL+C to stop
←[36m2011-06-24T18:50:51+00:00 heroku[web.1]:←[0m State changed from starting to
up
←[36m2011-06-24T18:50:51+00:00 app[web.1]:←[0m
←[36m2011-06-24T18:50:51+00:00 app[web.1]:←[0m
←[36m2011-06-24T18:50:51+00:00 app[web.1]:←[0m Started GET "/" for 74.105.216.15
8 at 2011-06-24 11:50:51 -0700
←[36m2011-06-24T18:50:51+00:00 app[web.1]:←[0m Processing by PagesController#h
ome as HTML
←[36m2011-06-24T18:50:51+00:00 app[web.1]:←[0m Rendered layouts/_stylesheets.htm
l.erb (0.9ms)
←[36m2011-06-24T18:50:51+00:00 app[web.1]:←[0m Rendered layouts/_header.html.erb
(22.0ms)
←[36m2011-06-24T18:50:51+00:00 app[web.1]:←[0m Rendered pages/hom
←[31m←[0m
←[36m2011-06-24T18:50:51+00:00 app[web.1]:←[0m Completed in 31ms
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m ActionView::Template::Error (PGEr
ror: ERROR: relation "users" does not exist
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m : SELECT a.attname, f
ormat_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m FROM pg_attribute a
LEFT JOIN pg_attrdef d
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m ON a.attrelid = d
.adrelid AND a.attnum = d.adnum
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m WHERE a.attrelid = '
"users"'::regclass
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m AND a.attnum > 0 A
ND NOT a.attisdropped
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m ORDER BY a.attnum
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m ):
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m 3: <nav class="round">
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m 4: <ul>
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m 5: <li><%=
link_to "Home", root_path %></li>
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m 6: <% if si
gned_in? %>
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m 7:
<li><%= link_to "Users", users_path %></li>
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m 8:
<li><%= link_to "Profile", current_user %></li>
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m 9:
<li><%= link_to "Account", edit_user_path(current_user) %></li>
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m app/models/user.rb:44:in `authe
nticate_with_salt'
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m app/helpers/sessions_helper.rb:
64:in `user_from_remember_token'
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m app/helpers/sessions_helper.rb:
32:in `current_user'
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m app/helpers/sessions_helper.rb:
14:in `signed_in?'
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m app/views/layouts/_header.html.
erb:6:in `_app_views_layouts__header_html_erb__3980662605318628940_24768820__141
2850422392777162'
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m app/views/layouts/application.h
tml.erb:15:in `_app_views_layouts_application_html_erb___4007788113023272464_250
88460__2801653751615046395'
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m
←[33m2011-06-24T18:50:52+00:00 heroku[router]:←[0m GET growing-dusk-285.heroku.c
om/ dyno=web.1 queue=0 wait=0ms service=137ms status=500 bytes=728
←[33m2011-06-24T18:50:52+00:00 heroku[router]:←[0m GET growing-dusk-285.heroku.c
om/favicon.ico dyno=web.1 queue=0 wait=0ms service=1ms status=200 bytes=0
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m Started GET "/" for 74.105.216.15
8 at 2011-06-24 11:52:40 -0700
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m Processing by PagesController#h
ome as HTML
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m Rendered layouts/_stylesheets.htm
l.erb (0.5ms)
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m Rendered layouts/_header.html.erb
(10.3ms)
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m Rendered pages/home.html.erb with
in layouts/application (11.9ms)
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m Completed in 12ms
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m ActionView::Template::Error (PGEr
ror: ERROR: relation "users" does not exist
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m : SELECT a.attname, f
ormat_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m FROM pg_attribute a
LEFT JOIN pg_attrdef d
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m ON a.attrelid = d
.adrelid AND a.attnum = d.adnum
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m WHERE a.attrelid = '
"users"'::regclass
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m AND a.attnum > 0 A
ND NOT a.attisdropped
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m ORDER BY a.attnum
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m ):
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m 3: <nav class="round">
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m 4: <ul>
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m 5: <li><%=
link_to "Home", root_path %></li>
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m 6: <% if si
gned_in? %>
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m 7:
<li><%= link_to "Users", users_path %></li>
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m 8:
<li><%= link_to "Profile", current_user %></li>
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m 9:
<li><%= link_to "Account", edit_user_path(current_user) %></li>
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m app/helpers/sessions_helper.rb:
64:in `user_from_remember_token'
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m app/models/user.rb:44:in `authe
nticate_with_salt'
←[33m2011-06-24T18:52:40+00:00 heroku[router]:←[0m GET growing-dusk-285.heroku.c
om/ dyno=web.1 queue=0 wait=0ms service=21ms status=500 bytes=728
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m app/helpers/sessions_helper.rb:
32:in `current_user'
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m app/helpers/sessions_helper.rb:
14:in `signed_in?'
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m app/views/layouts/_header.html.
erb:6:in `_app_views_layouts__header_html_erb__3980662605318628940_24768820__141
2850422392777162'
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m app/views/layouts/application.h
tml.erb:15:in `_app_views_layouts_application_html_erb___4007788113023272464_250
88460__2801653751615046395'
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m
←[36m2011-06-24T18:52:40+00:00 app[web.1]:←[0m
←[33m2011-06-24T18:52:40+00:00 heroku[router]:←[0m GET growing-dusk-285.heroku.c
om/favicon.ico dyno=web.1 queue=0 wait=0ms service=4ms status=200 bytes=0
←[36m2011-06-24T18:52:41+00:00 heroku[nginx]:←[0m GET / HTTP/1.1 | 74.105.216.15
8 | 964 | http | 500
The only line in the above log file that says "error" in it this:
←[36m2011-06-24T18:50:52+00:00 app[web.1]:←[0m ActionView::Template::Error (PGEr
ror: ERROR: relation "users" does not exist
What does this mean though? And is that the cause of the problem?
Have you migrated your database on the Heroku side?
heroku rake db:migrate
A similar question can be found here.
Related
thanks for helping out.
My app works in localhost but I got below "unexpected token" error after deploying to Heroku. Also, I have the error regarding "favicon.ico" . Heroku log is as follow:
2022-05-02T05:47:55.619466+00:00 heroku[web.1]: Starting process with command `node app.js`
2022-05-02T05:47:56.000000+00:00 app[api]: Build succeeded
2022-05-02T05:47:57.053439+00:00 app[web.1]: /app/app.js:49
2022-05-02T05:47:57.053452+00:00 app[web.1]: return <div>
2022-05-02T05:47:57.053452+00:00 app[web.1]: ^
2022-05-02T05:47:57.053453+00:00 app[web.1]:
2022-05-02T05:47:57.053453+00:00 app[web.1]: SyntaxError: Unexpected token '<'
2022-05-02T05:47:57.053453+00:00 app[web.1]: at Object.compileFunction (node:vm:352:18)
2022-05-02T05:47:57.053454+00:00 app[web.1]: at wrapSafe (node:internal/modules/cjs/loader:1033:15)
2022-05-02T05:47:57.053455+00:00 app[web.1]: at Module._compile (node:internal/modules/cjs/loader:1069:27)
2022-05-02T05:47:57.053455+00:00 app[web.1]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
2022-05-02T05:47:57.053456+00:00 app[web.1]: at Module.load (node:internal/modules/cjs/loader:981:32)
2022-05-02T05:47:57.053456+00:00 app[web.1]: at Function.Module._load (node:internal/modules/cjs/loader:822:12)
2022-05-02T05:47:57.053456+00:00 app[web.1]: at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
2022-05-02T05:47:57.053457+00:00 app[web.1]: at node:internal/main/run_main_module:17:47
2022-05-02T05:47:57.178016+00:00 heroku[web.1]: Process exited with status 1
2022-05-02T05:47:57.240533+00:00 heroku[web.1]: State changed from starting to crashed
2022-05-02T05:48:51.164272+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=secure-tundra-48558.herokuapp.com request_id=b06ff127-684c-407c-a44c-5f2b70ed2506 fwd="1.36.26.158" dyno= connect= service= status=503 bytes= protocol=https
2022-05-02T05:48:53.759984+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=secure-tundra-48558.herokuapp.com request_id=2fd354ff-fc47-442b-812b-050147dd4c63 fwd="1.36.26.158" dyno= connect= service= status=503 bytes= protocol=https
Line 49 error in app.js is referring to below:
const Weather = () => {
return <div> <---- this line 49 with error
<div class="heading col-md-9">
<h5>Weather information for {weather.city}</h5>
<hr></hr>
</div>
<div className="welements col-md-9">
<div className="welement">
<strong>Weather :</strong> {weather.descp}
</div>
<div className="welement">
<strong>Temperature :</strong> {C.toFixed(2)} ℃
</div>
<div className="welement">
<strong>Humidity : </strong>{weather.humidity} %
</div>
<div className="welement">
<strong>Pressure :</strong> {weather.press} mb
</div>
</div>
</div>
}
have you created the Procfile?
if not then:
you need to do the following on your bash console
>cd <project directory>
>touch Procfile
>open Procfile
once you are in the procfile you need to add only single line in it
web: node app.js (or whatever is you index file)
after doing this, try again with the process
>git add .
>git commit -m "you message"
>git push heroku main
PS: also make sure your app.js is in the root directory
add a pair of ()
const Weather = () => {
return (<div>
<div class="heading col-md-9">
<h5>Weather information for {weather.city}</h5>
<hr></hr>
</div>
<div className="welements col-md-9">
<div className="welement">
<strong>Weather :</strong> {weather.descp}
</div>
<div className="welement">
<strong>Temperature :</strong> {C.toFixed(2)} ℃
</div>
<div className="welement">
<strong>Humidity : </strong>{weather.humidity} %
</div>
<div className="welement">
<strong>Pressure :</strong> {weather.press} mb
</div>
</div>
</div>);
}
I updated to Ruby 2.4.2 which required me to update Gibberish to 2.0.
I am getting this error and not sure what is the culprit.
Completed 500 Internal Server Error in 157ms
Feb 20 10:34:14 my-staging app/web.1: ActionView::Template::Error (Unable to parse JSON of crypted text):
348: <% end %>
349: <li class="dropdown <%= 'active' if request.fullpath == "/es/account" %>">
350: <a aria-haspopup="true">
351: <i class="icon-user"></i> <%= current_user.email %>
352: <b class="caret"></b>
353: </a>
354: <ul>
Feb 20 10:34:14 my-staging app/web.1: config/initializers/mongoid_encryption.rb:15:in `decrypt'
I think the issue might be this gem, but not sure??
gem 'mongoid-encrypted-fields', :path => "./vendor/plugins/mongoid-encrypted-fields-1.2.2"
The relevant code causing the problem seems to be this from my view:
<input type="checkbox" id=<%= "#{a[0]}#{ndx}" -%> class="toggle" />
<label for=<%= "#{a[0]}#{ndx}" -%> class="popup-label">
This throws the following error in the Heroku logs:
SyntaxError - /app/views/index.erb:25: syntax error, unexpected ')'
2017-03-17T06:30:26.877056+00:00 app[web.1]: ...buf.concat(( "#{a[0]}#{ndx}" -).to_s); #_out_buf.concat " cl...
2017-03-17T06:30:26.877061+00:00 app[web.1]: /app/views/index.erb:26: syntax error, unexpected ')'
2017-03-17T06:30:26.877057+00:00 app[web.1]: ... ^
2017-03-17T06:30:26.877061+00:00 app[web.1]: ...buf.concat(( "#{a[0]}#{ndx}" -).to_s); #_out_buf.concat " cl...
I initially thought it might be the difference between using WEBrick and Puma, but I swapped them and found no difference. Suggestions?
Please try the below
<input type="checkbox" id="<%= a[0].to_s + ndx.to_s %>" class="toggle" />
<label for="<%= a[0].to_s + ndx.to_s %>" class="popup-label">
I'm trying to render partials in my view and it's breaking heroku, showing "We're sorry, but something went wrong".
It's been driving me mad. I think it's something to do with the asset pipeline, hopefully someone will know what I've done wrong.
Logs
2013-06-23T21:46:58.711440+00:00 app[web.1]:
> ActionView::Template::Error (Missing partial static_pages/gbgsynopsis,
> application/gbgsynopsis with {:locale=>[:en], :formats=>[:html],
> :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee]}.
> Searched in: 2013-06-23T21:46:58.711440+00:00 app[web.1]: *
> "/app/app/views" 2013-06-23T21:46:58.711440+00:00 app[web.1]: 19:
> <%= image_tag('GBG.jpg', class: "bookcover") %>
> 2013-06-23T21:46:58.711440+00:00 app[web.1]: 20:
> </div> 2013-06-23T21:46:58.711611+00:00 app[web.1]: 22:
> <%= render "gbgsynopsis" %> 2013-06-23T21:46:58.711611+00:00
> app[web.1]: app/views/static_pages/home.html.erb:22:in
> `_app_views_static_pages_home_html_erb__1233625768328599458_70301407659120' 2013-06-23T21:46:59.003669+00:00 heroku[router]: at=info method=GET
> path=/favicon.ico host=readerly.herokuapp.com fwd="86.156.197.140"
> dyno=web.1 connect=1ms service=4ms status=200 bytes=0
Gemfile
source 'https://rubygems.org'
ruby '2.0.0'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.0.rc2'
gem 'bootstrap-sass'
group :development do
gem 'sqlite3'
end
group :production do
gem 'pg'
gem 'rails_12factor'
end
View
<div class="row-fluid">
<div class="span4">
<%= image_tag('GBG.jpg', class: "bookcover") %>
</div>
<div class="span8">
<%= render "gbgsynopsis" %>
</div>
</div>
The following message is clear:
> ActionView::Template::Error (Missing partial static_pages/gbgsynopsis,
> application/gbgsynopsis with {:locale=>[:en], :formats=>[:html],
> :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee]}.
Rails can't find your partial. I guess it is in the wrong directory or has the wrong filename (e.g. missing the _ as a first character).
Have a look at http://xyzpub.com/en/ruby-on-rails/3.2/dynamische_webseiten.html#partials for some docu about partials.
THE ERROR:
Started GET "/users/invitation/new" for 127.0.0.1 at 2013-01-09 01:00:31 +0100
Processing by Devise::InvitationsController#new as HTML
User Load (451.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
Rendered users/invitations/new.html.erb within layouts/application (69.2ms)
Rendered layouts/_google_analytics.html.erb (0.4ms)
Rendered layouts/_navbar.html.erb (73.6ms)
Completed 500 Internal Server Error in 10785ms
ActionView::Template::Error (No route matches {:controller=>"devise/dashboards", :action=>"show"}):
23: </ul>
24: <ul class="nav pull-right" id="main-menu-right">
25: <% if user_signed_in? %>
26: <li><%= link_to raw("My Agenda"), {:controller => :dashboards, :action => :show}, :tabindex => "-1" %></li>
27: <li><%= link_to raw("My Services"), {:controller => :creative_services, :action => :index_my_services}, :tabindex => "-1" %></li>
28: <li id="fat-menu" class="dropdown">
29: <a href="#" id="dropUser" role="button" class="dropdown-toggle" data-toggle="dropdown">
app/views/layouts/_navbar.html.erb:26:in `_app_views_layouts__navbar_html_erb__952134567516339951_70121556350080'
app/views/layouts/application.html.erb:18:in `_app_views_layouts_application_html_erb___2663940439779075013_70121556359600'
On my Rails 3.1 project, I already use Devise.
I added devise_invitable gem in my Gemfile:
gem "devise", "~> 2.0.0"
gem 'devise_invitable', '~> 1.0.0'
Run these commands
rails generate devise_invitable:install
rails generate devise_invitable User
rake db:migrate
rails generate devise_invitable:views users
Set options in Devise.rb (Unlimited invitations
config.invitation_limit =
and start my server.
When I try to access /users/invitation/new
I am getting a routing error
Routing Error
No route matches {:controller=>"devise/dashboards", :action=>"show"}
In my User model:
devise :invitable, :database_authenticatable, :registerable, :confirmable,
:recoverable, :rememberable, :trackable, :validatable, :invitable
My routes file:
devise_for :users, :controllers => { :registrations => 'registrations' }
How can I fix this routing issue?
workaround found here Routing error with devise {:controller=>"devise/static", :action=>"about"}
Changed my links:
26: <li><%= link_to raw("My Agenda"), {:controller => :dashboards, :action => :show}, :tabindex => "-1" %></li>
27: <li><%= link_to raw("My Services"), {:controller => :creative_services, :action => :index_my_services}, :tabindex => "-1" %></li>
to:
<li><%= link_to raw("My Agenda"), "/dashboards/show", :tabindex => "-1" %></li>
<li><%= link_to raw("My Services"), "/creative_services/index_my_services", :tabindex => "-1" %></li>
"and then all worked fine"