Posts by trichoplax
Installing QPixel on Fedora Linux using RVM without brew If you happen to be installing in this situation, a few things might have different names. Here are some of the differences I had to allow ...
I'm trying to understand the root cause of a bug, HTML meta tag for description is not question specific. On any individual question page, instead of showing an excerpt of the question and top ans...
Does having Codidact Collab under codidact.org rather than under codidact.com with the other communities cause an additional administrative burden, for example when releasing code changes? Would t...
When writing front end code for QPixel, is there a preferred way to check whether the user is signed in? The back end code has access to this information, and constructs the page accordingly. Some...
The front page is less cluttered without "Question" With Q&A containing both questions and wiki posts, every question is labelled "Question", like this: If Wiki were a separate Category the...
In QPixel, under db/seeds/posts, there are a number of HTML files which are starting points for various help guides and documents such as Terms of Service and Code of Conduct. These can be edited ...
As instructed in the "Create administrator account" section of the QPixel Installation guide I created a second new user through the user interface (clicking "Sign Up") in my local development inst...
Codidact has a guide to installing Co-Design. The section "Using a pre-built version" recommends using a CDN. I notice that the CDN recommended in the guide is different to the CDN used in the Cod...
I want to find the place in the codebase where a path is defined, but searching for the function that creates it gives no results apart from the usage of that function. For example, see thread.htm...
The function comment_thread_path is created automatically by Rails, based on the information provided in config/routes.rb. See Rails Routing from the Outside In for further details. Specifically,...
You can add a new route in the file config/routes.rb, and the existing routes in that file for the other "tabs" on the user profile page show the template to follow. The relevant part of the route...
Since you mention setting this up on your local machine, I assume this is a development environment, intended for your own testing (so the new user you are creating is still controlled by you on yo...
Hidden helper functions There are additional helper functions defined that can be used from the view files. These can be found in a separate helpers directory. In this particular case, the expanda...
When creating a new post in the Q&A Category, I'm asked whether I want to create a question or a wiki article. Are these both stored in the Q&A Category for historical reasons, perhaps due ...
It looks like you are using a database user root. I suspect this is at least part of the problem, so I recommend fixing it first. If you look in the QPixel repository at the file config/database.y...