To further refine your search, you can use additional qualifiers such as score:>0.5. For example, the search score:>=0.5 created:<1y grammar would return only posts mentioning "grammar" that have a score >= 0.5 and were created less than a year ago.
score:>0.5
score:>=0.5 created:<1y grammar
Further help with searching is available in the help center.
Quick hints: tag:tagname, user:xxx, "exact phrase", post_type:xxx, created:<N{d,w,mo,y}, score:>=0.5
tag:tagname
user:xxx
"exact phrase"
post_type:xxx
created:<N{d,w,mo,y}
score:>=0.5
I have a test page on my local dev environment so that I can test things. If you look at .gitignore, you'll find there's an ignore in there for scratch/* already. Create a directory called scratch...
posted 4y ago by ArtOfCode
You should almost never use a style attribute. They're clunky, they mix HTML with CSS meaning you can't preload it, and they override just about everything else. Instead, either use atomic classes...
You've missed a step: you need to make sure each category is associated with a tag set. There's a full setup guide here that you can follow. For the easy fix, from each category's page, click Edit ...
posted 5y ago by ArtOfCode
The really core features (posting, voting, commenting, editing) are pretty thoroughly tested; we only really need to test those exhaustively by hand if we're making significant changes to them - ot...
posted 5y ago by ArtOfCode · edited 3y ago by Trilarion
This is assuming that you're new to Ruby and Rails (and the MVC design pattern that comes with it), but you have programming experience. First, some orientation: Ruby is the programming language...
posted 3y ago by ArtOfCode
This is the difference between refreshing the database and seeding the database. db:seed does what it says on the tin - seeds the database. That means it adds pre-defined data to the database. It ...
posted 1y ago by ArtOfCode
Assuming you've followed the steps in the guide to setting up development, changing that to a production environment is relatively easy. Check your production configuration file (config/environm...
This is related to your other problem - it's the same root cause. Without any post types in the database, there aren't any to add to the categories, and the help and policy post types don't exist t...
You don't have a homepage category set. Go to the category list (/categories), pick one to be the homepage, edit it and tick the homepage option, then save it and try again. If that's not in the s...
Your MySQL installation is missing timezone support for the groupdate gem that we use. Run the following: mysql_tzinfo_to_sql /usr/share/zoneinfo | sudo mysql -u root mysql and you should be g...
posted 4y ago by ArtOfCode · edited 4y ago by Trilarion
QPixel has limited code documentation. That's partially by design, and partially because it often just gets missed out. Ruby is a relatively verbose language which tries to be as self-documenting ...
As the error message says, you can re-run the installation for that single gem to get more detail about the error: gem install mysql2 Read the log and any error messages carefully, as they will...
ActiveRecord::StatementInvalid: Mysql2::Error: Cannot drop table 'abilities' referenced by a foreign key constraint 'fk_rails_de15a6ad96' on table 'user_abilities'.: DROP TABLE IF EXISTS abilities
You've already got a database there that you're trying to overwrite. As long as it hasn't got anything in it that you want, do a drop database qpixel_dev and drop database qpixel_test, then re-run ...
A Raspberry Pi will run QPixel, and would be almost ideal for development as a small tinkering box. It's small, it'll fit on a desk with everything else already there, it can be remoted into. The o...
Stripe setup is handled in config/initializers/stripe.rb, where the Stripe API key is set based on the values saved in the Rails credentials file. You should be able to run rails credentials:edit ...
The error is actually a ActiveSupport::MessageEncryptor::InvalidMessage, which means either the message you're trying to decrypt is corrupted (it isn't), or you have the wrong key. Since the creden...
I have this error in my local environment too, and I've not been able to figure it out yet. It's somehow related to ImageMagick being built (or not) with the right image libraries, but as far as I ...
posted 4y ago by ArtOfCode · edited 4y ago by ArtOfCode
When you say front-end code, do you mean views or JavaScript? The answer is different. Views are the client-side code, but are generated server-side so you have access to things like user_signed_i...
This community is part of the non-profit Codidact network. We have other communities too — take a look!
You can also join us in chat!
Want to advertise this community? Use our templates!
Like what we're doing? Support us! Donate