Coder Social home page Coder Social logo

pingoupb / pingowebapp Goto Github PK

View Code? Open in Web Editor NEW
62.0 13.0 17.0 3.09 MB

source code of the PINGO web app - (see readme, wiki and http://blogs.upb.de/pingo/opensource/ for more info)

Home Page: http://www.trypingo.com

License: Eclipse Public License 1.0

Ruby 35.08% JavaScript 14.71% CoffeeScript 0.97% CSS 5.63% HTML 41.31% Gherkin 2.30%
pingo classroom-response-system audience-response-system paderborn university ruby

pingowebapp's People

Contributors

krakowski avatar michaelwhi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pingowebapp's Issues

German (too complex for my english): Einbinden der JS-Dateien im Develop-Modus

Versetze ich das System in den Develop-Modus, werden die JS - Dateien einzeln eingebunden

<script src="/assets/libs/modernizr.js?body=1" type="text/javascript"></script>
<script src="/assets/jquery.js?body=1" type="text/javascript"></script>
<script src="/assets/jquery_ujs.js?body=1" type="text/javascript"></script>
<script src="/assets/libs/jquery.history.js?body=1" type="text/javascript"></script>
<script src="/assets/00_app_construct.js?body=1" type="text/javascript"></script>
<script src="/assets/home.js?body=1" type="text/javascript"></script>
<script src="/assets/voting.js?body=1" type="text/javascript"></script>
<script src="/assets/websocket_helper.js?body=1" type="text/javascript"></script>
<script src="/assets/cocoon.js?body=1" type="text/javascript"></script>
<script src="/assets/jquery.browser.js?body=1" type="text/javascript"></script>
<script src="/assets/jquery.fancybox.js?body=1" type="text/javascript"></script>
<script src="/assets/fancybox.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/alert.js?body=1" type="text/javascript"></script>
<script src="/assets/jqcloud.js?body=1" type="text/javascript"></script>
<script src="/assets/application.js?body=1" type="text/javascript"></script>
<script src="/assets/libs/jquery.imagesloaded.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/dropdown.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/collapse.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/tooltip.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/popover.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/modal.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/tab.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/button.js?body=1" type="text/javascript"></script>
<script src="/assets/twitter/bootstrap/typeahead.js?body=1" type="text/javascript"></script>
<script src="/assets/libs/bootstrap-tagmanager.js?body=1" type="text/javascript"></script>
<script src="/assets/libs/fullscreen.js?body=1" type="text/javascript"></script>
<script src="/assets/libs/stupidtable.js?body=1" type="text/javascript"></script>
<script src="/assets/libs/deprecated_functions.js?body=1" type="text/javascript"></script>
<script src="/assets/libs/Chart.js?body=1" type="text/javascript"></script>
<script src="/assets/layout_helpers.js?body=1" type="text/javascript"></script>
<script src="/assets/events.js?body=1" type="text/javascript"></script>
<script src="/assets/surveys.js?body=1" type="text/javascript"></script>
<script src="/assets/collaborators.js?body=1" type="text/javascript"></script>
<script src="/assets/lecturer.js?body=1" type="text/javascript"></script>

Dann klappen aber viele der JS-Events nicht.

Hier die Consolen-Ausgabe

GET https://pingo.XXX.de/assets/twitter/bootstrap/responsive 404 (Not Found) 
Uncaught Error: History.js Adapter has already been loaded... application.js?body=1:7
(anonymous function) application.js?body=1:7
(anonymous function) application.js?body=1:7

Bindet man aber die Dateien aus dem ASSETS-Ordner manuell ein:

<script src="/assets/application-4938726efe3908ebbdb731d9b7a5f711.js" type="text/javascript"></script>
<script src="/assets/lecturer-5399dd489eb7125f382e9e6c4088b215.js" type="text/javascript"></script>

dann klappen die JS-Events auch im Develop-Modus.

Latest update

hi...just following-up about the newer release you were planning sometime back. Any update on when it might be done?

"bundle exec rake db:seed" schlägt unter Ruby 2.0 fehl

Moin,

wir sind gerade dabei, PINGO für die Benutzung an der Universität Hamburg zu evaluieren.
Ich habe versucht, PINGO gemäß der README zu installieren. Scheitere jedoch am dritten Schritt bundle exec rake seed.

Ich erhalte folgende Meldung beim Betrieb auf einem Mac OS X-System:

[heiko@hades ~/Dropbox/Development/PINGOWebApp ±master]$ bundle exec rake db:seed
rake aborted!
pack /Users/heiko/Dropbox/Development/PINGOWebApp/.git/objects/pack/pack-adebf345b3e9b7aa13565381e449f1e1110ccdd8.pack has discontinuous index 1
/Users/heiko/Dropbox/Development/PINGOWebApp/config/environments/development.rb:60:in `<top (required)>'
/Users/heiko/Dropbox/Development/PINGOWebApp/config/environment.rb:5:in `<top (required)>'
Tasks: TOP => db:seed => environment
(See full trace by running task with --trace)

Ich habe das ganze dann noch einmal auf einem Ubuntu 12.04 LTS-Server probiert. Dort bricht der rake-Task mit gleicher Meldung ab.

Um einen Fehler mit dem Git-Repository auszuschließen, habe ich danach die PINGOWebApp als ZIP von GitHub heruntergeladen. Dort sah die Fehlermeldung anders aus:

[heiko@hades ~/Downloads/PINGOWebApp-master]$ bundle exec rake db:seed
rake aborted!
/Users/heiko/Downloads/PINGOWebApp-master/.git
/Users/heiko/Downloads/PINGOWebApp-master/config/environments/development.rb:59:in `new'
/Users/heiko/Downloads/PINGOWebApp-master/config/environments/development.rb:59:in `<top (required)>'
/Users/heiko/Downloads/PINGOWebApp-master/config/environment.rb:5:in `<top (required)>'
Tasks: TOP => db:seed => environment
(See full trace by running task with --trace)

Der Fehler scheint auch nicht zwingend was mit dem rake-Tas zu tun zu haben, denn es brechen jegliche Operationen ab, sobald versucht wird, die Rails-Umgebung zu starten:

[heiko@hades ~/Downloads/PINGOWebApp-master]$ bundle exec rails c
/Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/grit-2.5.0/lib/grit/repo.rb:53:in `initialize': /Users/heiko/Downloads/PINGOWebApp-master/.git (Grit::NoSuchPathError)
    from /Users/heiko/Downloads/PINGOWebApp-master/config/environments/development.rb:59:in `new'
    from /Users/heiko/Downloads/PINGOWebApp-master/config/environments/development.rb:59:in `<top (required)>'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `require'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `require'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `block in require'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/engine.rb:576:in `block in <class:Engine>'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `instance_exec'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `run'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:55:in `block in run_initializers'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `each'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `run_initializers'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/application.rb:136:in `initialize!'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in `method_missing'
    from /Users/heiko/Downloads/PINGOWebApp-master/config/environment.rb:5:in `<top (required)>'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `require'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `require'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `block in require'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/application.rb:103:in `require_environment!'
    from /Users/heiko/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/railties-3.2.16/lib/rails/commands.rb:40:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'

Können Sie mir da bitte helfen?

Gruß,
Heiko

Problem mit Asset Pipeline in produktiver Umgebung

Moin,

wenn ich den Rails-Server wie folgt starte

root@pingo:~/PINGOWebApp# RAILS_ENV=production bundle exec rails server -p80

erhalte ich folgenden Fehler beim Aufrufen von http://127.0.0.1/:
screen shot 2014-10-16 at 18 32 58

Dieses Problem tritt nicht in der development-Umgebung auf.

Folgendes erhalte ich außerdem als stdout beim Betrieb des Rails-Webservers:

=> Booting Thin
=> Rails 3.2.16 application starting in production on http://0.0.0.0:80
=> Call with -d to detach
=> Ctrl-C to shutdown server
using FiberPool
>> Thin web server (v1.5.0 codename Knife)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:80, CTRL+C to stop
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
!! Rack application returned nil body. Probably you wanted it to be an empty string?
!! Unexpected error while processing request: undefined method `each' for nil:NilClass
!! Rack application returned nil body. Probably you wanted it to be an empty string?
!! Unexpected error while processing request: undefined method `each' for nil:NilClass
!! Rack application returned nil body. Probably you wanted it to be an empty string?
!! Unexpected error while processing request: undefined method `each' for nil:NilClass

Gruß,
Heiko

No answers in export as .csv

Dear all,

When I export the results of surveys, the column Answer in the .csv file is empty. However, in the json file there appears to be the number of answers.

Best wishes,

Christina

Action Mailer-Konfiguration wird ignoriert?

Moin,
wenn sich neue Benutzer registrieren, kommt es zu folgenden Fehler

method=POST path=/users/password format=html controller=devise/passwords action=create status=500 error='ActionView::Template::Error:Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true' duration=132.25 ip=
vs6.765   2015-01-06T14:50:17.505780+01:00 FATAL
vs6.765   ActionView::Template::Error (Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true):

In der Datei config/environments/production.rb steht:

config.action_mailer.default_url_options = { :host => 'foo.bar' }

Das wird aber scheinbar ignoriert:

vagrant@precise64:/vagrant$ RAILS_ENV=production bundle exec rails c
Loading production environment (Rails 3.2.16)
irb(main):001:0> Rails.application.config.action_mailer.default_url_options
=> {:host=>""}

Regarding Real-time results

Wondering if there are plans of making the results (charts etc) appear real-time as audience input their information rather than when presenter clicks stop?

Export data from survery

Good morning,

I recently started using Pingo and tested it today in a lecture.
It went really smoothly, so compliments to the developers!

I used it for an assessment of the knowledge existent in the auditorium, but I now struggle to extract the data for long-time statistics.
Is there a way to export the results from a session into CSV?
And if not, can this be implemented?

isuue with running app on production mode

Hi ,
i just started with Pingo app and now i wanna run it on production mode but im getting errors i tried :
RAILS_ENV=production bundle exec rails server
is there any conf i miss it ?

Ps: developemnt mode work without problems

websocket API

Hi,
I try to use this system at our university. My goal: using of native UI with Titanium Appcelerator. In this case I would use the backend system (with ruby) and build own apps. This apps should speak with backend over websockets (socket.io). Where I can found details about communication protocol?

Define from mail to configuration

In time you define the support mail address hard in 12 files

./app/views/invite_mailer/invite_email.html.erb:57:      <%= t "user_mailer.welcome.contact_text" %>: <a href="mailto: [email protected]">[email protected]</a>
./app/views/maktoub/newsletters/pingo_2_release_info.html.erb:61:<p>    Viele Entwicklungen der letzten Zeit sind auf Basis von <strong>Feedback</strong> entstanden. Sie k&ouml;nnen uns unter <%= mail_to "[email protected]", "[email protected]" %> jederzeit erreichen, wir freuen uns von Ihnen zu h&ouml;ren!</p>
./app/views/maktoub/newsletters/pingo_2_release_info.html.erb:113:  <p> A lot of the recent features are the results of your <strong>feedback</strong>. You can always contact us at <%= mail_to "[email protected]", "[email protected]" %>. We look forward to hearing from you.</p>
./app/views/maktoub/newsletters/pingo_news_11_2013.html.erb:42:<p>  Viele Entwicklungen der letzten Zeit sind auf Basis von <strong>Feedback</strong> entstanden. Sie k&ouml;nnen uns unter <%= mail_to "[email protected]", "[email protected]" %> jederzeit erreichen, wir freuen uns von Ihnen zu h&ouml;ren!</p>
./app/views/maktoub/newsletters/pingo_news_11_2013.html.erb:94:<p>We developed many of the recent features based on user <strong>feedback</strong>. Please do not hesitate to contact us via <%= mail_to "[email protected]", "[email protected]" %> with any suggestions or comments. We look forward to hearing from you!</p>
./app/views/user_mailer/welcome.html.erb:57:        <%= t ".contact_text" %>: <a href="mailto: [email protected]">[email protected]</a>.
./app/views/announcement_mailer/announcement_email.html.erb:46:         Falls Sie planen, PINGO am Samstag live einzusetzen, bitten wir Sie uns kurz eine Mail mit dem Zeitfenster an <a href="mailto:[email protected]">[email protected]</a> zu senden.
./app/mailers/invite_mailer.rb:4:    mail(from: "#{inviter.name} via PINGO <[email protected]>",
./app/mailers/user_mailer.rb:2:  default from: "PINGO <[email protected]>"
./app/mailers/announcement_mailer.rb:2:  default from: "PINGO <[email protected]>"
./app/mailers/announcement_mailer.rb:5:         reply_to: "[email protected]",

issue with bundle exec rails server

Hello All,
everything work fine with recent version untill i run bundle exec rails server to start the app, i got this message bellow
anyone has an idea about this issue ?

# bundle exec rails server => Booting Thin => Rails 5.2.0 application starting in development on http://localhost:3000 => Run rails server -hfor more startup options DEPRECATION WARNING: Sprockets methodregister_engineis deprecated. Please register a mime type usingregister_mime_typethen useregister_compressororregister_transformer. https://github.com/rails/sprockets/blob/master/guides/extending_sprockets.md#supporting-all-versions-of-sprockets-in-processors (called from block in <class:Railtie> at /var/lib/gems/2.5.0/gems/less-rails-2.8.0/lib/less/rails/railtie.rb:16) DEPRECATION WARNING: You are using the a deprecated processor interface Less::Rails::ImportProcessor. Please update your processor interface: https://github.com/rails/sprockets/blob/master/guides/extending_sprockets.md#supporting-all-versions-of-sprockets-in-processors (called from block in <class:Railtie> at /var/lib/gems/2.5.0/gems/less-rails-2.8.0/lib/less/rails/railtie.rb:21) Exiting Traceback (most recent call last): 73: from bin/rails:4:in

'
72: from bin/rails:4:in require' 71: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/commands.rb:18:in <top (required)>'
70: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/command.rb:46:in invoke' 69: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/command/base.rb:65:in perform'
68: from /usr/lib/ruby/vendor_ruby/thor.rb:369:in dispatch' 67: from /usr/lib/ruby/vendor_ruby/thor/invocation.rb:126:in invoke_command'
66: from /usr/lib/ruby/vendor_ruby/thor/command.rb:27:in run' 65: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/commands/server/server_command.rb:142:in perform'
64: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/commands/server/server_command.rb:142:in tap' 63: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/commands/server/server_command.rb:147:in block in perform'
62: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/commands/server/server_command.rb:51:in start' 61: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/commands/server/server_command.rb:89:in log_to_stdout'
60: from /var/lib/gems/2.5.0/gems/rack-2.0.4/lib/rack/server.rb:354:in wrapped_app' 59: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/commands/server/server_command.rb:27:in app'
58: from /var/lib/gems/2.5.0/gems/rack-2.0.4/lib/rack/server.rb:219:in app' 57: from /var/lib/gems/2.5.0/gems/rack-2.0.4/lib/rack/server.rb:319:in build_app_and_options_from_config'
56: from /var/lib/gems/2.5.0/gems/rack-2.0.4/lib/rack/builder.rb:40:in parse_file' 55: from /var/lib/gems/2.5.0/gems/rack-2.0.4/lib/rack/builder.rb:49:in new_from_string'
54: from /var/lib/gems/2.5.0/gems/rack-2.0.4/lib/rack/builder.rb:49:in eval' 53: from config.ru:in '
52: from config.ru:in new' 51: from /var/lib/gems/2.5.0/gems/rack-2.0.4/lib/rack/builder.rb:55:in initialize'
50: from /var/lib/gems/2.5.0/gems/rack-2.0.4/lib/rack/builder.rb:55:in instance_eval' 49: from config.ru:3:in block in '
48: from /var/lib/gems/2.5.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:283:in require' 47: from /var/lib/gems/2.5.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:249:in load_dependency'
46: from /var/lib/gems/2.5.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:283:in block in require' 45: from /var/lib/gems/2.5.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require'
44: from /var/lib/gems/2.5.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require' 43: from /home/ubuntu/PINGOWebApp-rails51/config/environment.rb:5:in <top (required)>'
42: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/application.rb:361:in initialize!' 41: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/initializable.rb:60:in run_initializers'
40: from /usr/lib/ruby/2.5.0/tsort.rb:205:in tsort_each' 39: from /usr/lib/ruby/2.5.0/tsort.rb:226:in tsort_each'
38: from /usr/lib/ruby/2.5.0/tsort.rb:347:in each_strongly_connected_component' 37: from /usr/lib/ruby/2.5.0/tsort.rb:347:in call'
36: from /usr/lib/ruby/2.5.0/tsort.rb:347:in each' 35: from /usr/lib/ruby/2.5.0/tsort.rb:349:in block in each_strongly_connected_component'
34: from /usr/lib/ruby/2.5.0/tsort.rb:415:in each_strongly_connected_component_from' 33: from /usr/lib/ruby/2.5.0/tsort.rb:415:in call'
32: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/initializable.rb:50:in tsort_each_child' 31: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/initializable.rb:50:in each'
30: from /usr/lib/ruby/2.5.0/tsort.rb:421:in block in each_strongly_connected_component_from' 29: from /usr/lib/ruby/2.5.0/tsort.rb:415:in each_strongly_connected_component_from'
28: from /usr/lib/ruby/2.5.0/tsort.rb:415:in call' 27: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/initializable.rb:50:in tsort_each_child'
26: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/initializable.rb:50:in each' 25: from /usr/lib/ruby/2.5.0/tsort.rb:421:in block in each_strongly_connected_component_from'
24: from /usr/lib/ruby/2.5.0/tsort.rb:415:in each_strongly_connected_component_from' 23: from /usr/lib/ruby/2.5.0/tsort.rb:415:in call'
22: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/initializable.rb:50:in tsort_each_child' 21: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/initializable.rb:50:in each'
20: from /usr/lib/ruby/2.5.0/tsort.rb:421:in block in each_strongly_connected_component_from' 19: from /usr/lib/ruby/2.5.0/tsort.rb:431:in each_strongly_connected_component_from'
18: from /usr/lib/ruby/2.5.0/tsort.rb:422:in block (2 levels) in each_strongly_connected_component_from' 17: from /usr/lib/ruby/2.5.0/tsort.rb:422:in block (2 levels) in each_strongly_connected_component_from'
16: from /usr/lib/ruby/2.5.0/tsort.rb:422:in block (2 levels) in each_strongly_connected_component_from' 15: from /usr/lib/ruby/2.5.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component'
14: from /usr/lib/ruby/2.5.0/tsort.rb:228:in block in tsort_each' 13: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/initializable.rb:61:in block in run_initializers'
12: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/initializable.rb:32:in run' 11: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/initializable.rb:32:in instance_exec'
10: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/engine.rb:613:in block in <class:Engine>' 9: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/engine.rb:613:in each'
8: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/engine.rb:614:in block (2 levels) in <class:Engine>' 7: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/engine.rb:656:in load_config_initializer'
6: from /var/lib/gems/2.5.0/gems/activesupport-5.2.0/lib/active_support/notifications.rb:170:in instrument' 5: from /var/lib/gems/2.5.0/gems/railties-5.2.0/lib/rails/engine.rb:657:in block in load_config_initializer'
4: from /var/lib/gems/2.5.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:277:in load' 3: from /var/lib/gems/2.5.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:249:in load_dependency'
2: from /var/lib/gems/2.5.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:277:in block in load' 1: from /var/lib/gems/2.5.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:277:in load'
/home/ubuntu/PINGOWebApp-rails51/config/initializers/secret_token.rb:7:in <top (required)>': undefined local variable or method config' for main:Object (NameError)
`

Set URL in Templates from Config

The System-URL is set in the Config

config.action_mailer.default_url_options

But in the Templates are hard-code the URL from University of Padderborn

Delete hard line-breaks

In the most of the Templates are hard line-breaks <br>.

If you will style with CSS, you must edit all Templates

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.