Comments (2)
Note: The 500 error can be bypassed by commenting out the following line in app/controllers/application_controller.rb:
Rails.logger.info " Host #{host_name}, community #{RequestContext.community_id} (#{RequestContext.community.name})"
from qpixel.
Good catch. We can add a community seed easily enough. We should probably not bypass that error by default, though: we could change the log to RequestContext.community&.name || '(no community)'
, but we should also add a check in ApplicationController#set_globals
or similar to make sure there is a community present, otherwise the lack of data will confuse people. Might be worth adding an error view that we can render when there's no community.
from qpixel.
Related Issues (20)
- Add markdown for tags HOT 2
- Wipe everything script fails due to foreign key constraints HOT 4
- Better sorting and filtering of tags page
- Better image resizing capabilities
- Archival and locking of a thread doesn't notify followers HOT 6
- On mobile, user profile -> filters -> menu can misbehave initially (might be incomplete load?) HOT 2
- Keyboard shortcuts shouldn't trap ctrl-(letter)
- When updating live votes, also update the tooltip
- Make post titles (the h1) links and don't truncate page title
- Make it easier to show question titles when linking to them
- "Translation missing" instead of an error message
- Inline mathjax shows weirdly in edit history diff
- Existing filters aren't available in a new browser until you create a new one HOT 3
- Community list in page footer does not match Communities drop-down in header
- Add more guidance for a user's first third-party edit
- Add edit history to tags
- Add tables to formatting help
- Persistent references to post history entries & pagination
- ND, regression: sometimes posted posts and comments aren't cleared
- Bulleted lists are missing their bullets on some Mac/iOS browsers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qpixel.