thredded | The best Rails forums engine | Collaboration library
kandi X-RAY | thredded Summary
kandi X-RAY | thredded Summary
Thredded provides an app generator that will generate a Rails app with Thredded, Devise, SimpleForm, RSpec, PostgreSQL, and a basic theme and navigation that is configured to work out of the box. See thredded_create_app --help and the [thredded_create_app repo] to learn about the various options. Then, see the rest of this Readme for more information about using and customizing Thredded.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Shows a user
- Renders a collection in the collection .
- Parses the given names of the given text .
- Runs the post request .
- Open a dropdown button
- Preview the browser preview .
- Create a private topic
- Generates a post page for the post .
- Returns a string with the given name .
thredded Key Features
thredded Examples and Code Snippets
Community Discussions
Trending Discussions on thredded
QUESTION
I updated my ruby to 3.0.0 but for some reason now my application doesn't work. I have searched online for different answered but I cannot find anything. This error has gotten me going crazy now. Here is what happens.
When I do bundle update I get:
...ANSWER
Answered 2021-Feb-14 at 10:52Currently Ruby 3.0 is not supported with Rails, as there will be next release for Rails. You can do following and it works by installing dev branch of ruby 3. I used ruby 3.1.0dev (2021-02-14T05:09:08Z master ff527e7e32) [x86_64-darwin19]
Following commands are with RVM you can use same with other softwares I tried by installing
QUESTION
In one of my repositories today, I got this security notification:
...ANSWER
Answered 2020-Aug-09 at 21:12In my case I solved it by modifying the Gemfile.lock file, it is located in the root directory of the repository.
CTRL + F kramdown
Appears in three places in the file
QUESTION
I have a third party gem, thredded, that tries to access jQuery when I require it in my application.js. When I load it in my application.js as seen below, I get an error.
...ANSWER
Answered 2020-May-20 at 04:17I guess you're missing the following in environment.js, before the exports:
QUESTION
On my Rails 5.0.7 application I have Thredded (0.15.4) mounted as an engine in a namespace.
...ANSWER
Answered 2018-Aug-03 at 22:04Have you tried:
QUESTION
We're using Chrome headless with Capybara and Selenium for three js feature tests.
We're having a predictable (only on CI) failure when one specific js test (using xhr) follows another which also uses xhr (see https://github.com/thredded/thredded/tree/separate-out-js-from-non-js-in-ci for the code or https://travis-ci.org/thredded/thredded/jobs/302376004 for a sample run).
The server error is always being surfaced in the next spec "User creates new topic with title and content" but the url is evidently from the previous spec "User replying to a topic starts a quote-reply (js)".
The obvious thing is that there is a race condition between a request that falls off the end of the spec and happens after DatabaseCleaner.clean
. However, my understanding is that with Capybara 2.7+ [1] after_each
should happen after a reset_session!
which should prevent this precise problem. In any case I am pretty sure there is nothing in the page that could be creating this request (we have a specific wait/test for the completion of this ajax request).
This is happening with 3 different databases and 3 different rails versions (4.2, 5.0, 5.1). We've upgraded to latest Capybara.
Have tried disabling turbolinks, adding in a massive (10s) sleep at the end of the offending spec... Have tried manually resetting sessions too.
Must be missing something. Any pointers?
[1] https://github.com/teamcapybara/capybara/pull/1637 referenced from https://bibwild.wordpress.com/2016/02/18/struggling-towards-reliable-capybara-javascript-testing/
UPDATE: Have added references to xhr, as another (new) js spec is having the problem, and that it isn't the first two requests (login form, and post to login) that is surfacing the error, but the first xhr request that surfaces the error. In the new case the xhr that is getting requested is being requested with POST in the subsequent spec even though it was originall requested with GET
...ANSWER
Answered 2017-Nov-15 at 11:54Looks like it was a chromedriver bug.
We fixed this by upgrading chromedriver (on travis) to v2.33 (linux). https://travis-ci.org/thredded/thredded/builds/302431113
The previous version was v2.31. Oddly we couldn't get this to break locally with 2.31 (mac).
QUESTION
Created a Rails 5 app using devise for auth and attempting to add Thredded gem for forums.
Expected behaviorThe app should load at http://localhost:3000.
Actual behaviorAfter server starts, the following message shows up in the chrome browser where the app should be.
couldn't find file 'rails-ujs' with type 'application/javascript' ...ANSWER
Answered 2017-Nov-06 at 13:34gem 'rails-ujs', '~> 5.1.0.beta1'
QUESTION
I've been integrated Thredded into my rails app. It is the first forum engine I've tried, and it is cool. Just recently, I am willing to completely remove some messageboards, but the messageboards controller itself does not have the destroy action. I've tried adding it manually, and it leads me to override more and more classes, models, etc, yet with no success.
Any clues would be appreciated!
...ANSWER
Answered 2017-Feb-01 at 05:37You can delete a Thredded messageboard from the command line or the Rails console.
For example, if the messageboard's URL slug is "url-slug":
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install thredded
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page