Questions tagged [forem]

forem is a little forum engine for Rails

According to their github page: "Forem is an engine for that aims to be the best little forum system ever." It can be used in an existing Rails application and provide all the basic forum functionality for Forums, Topics and Posts.

It's actually (June 2013) in a pre-1.0 state.

Other features:

  • Text Formatting
  • Theme support
  • Flexible permissions system
  • Translations
24 questions
3
votes
1 answer

Install generator won't see a method I defined

I'm trying to use my Engine in another app to test the install generator and it seems to be failing. I haven't used my install generator for a long time, so I'm not sure when it broke (or if it ever truly smoothly worked). My project is based off…
njny
  • 559
  • 2
  • 15
3
votes
1 answer

Stack level too deep while registering on Devise

I am currently getting an error while registering with devise. When I press submit on the sign up form, I am redirected to /users with this error: SystemStackError in Devise::RegistrationsController#create stack level too deep Rails.root:…
njny
  • 559
  • 2
  • 15
2
votes
1 answer

What is the best way to reassign routes

Currently I have these routes in my routes.rb file: get 'exit' => 'sessions#destroy', :as => 'logout' get 'enter' => 'sessions#new', :as => ' get 'register' => 'users#new', :as => ' get 'posts' => 'posts#new', :as => ' get 'offers' =>…
Ivan Kutsarov
  • 983
  • 1
  • 7
  • 14
1
vote
1 answer

How to namespace routes in Rails 4 to set up Forem?

I've been trying to set up Forem (a Rails 4 forum engine) using a guide and original docs. Most things work, but I'm getting route errors. In my application.erb I have this route in a link_to: topic_path(u) The guide recommends that I preface…
Wemmick
  • 186
  • 2
  • 14
1
vote
1 answer

Forem - Layout doesn't recognize routes

I'm new with forem gem. I want to set the same layout for my application and my forum. I changed the default config/initializers/forem.rb to set my app/views/layouts/application.html.erb layout : Rails.application.config.to_prepare do …
pierallard
  • 3,326
  • 3
  • 21
  • 48
1
vote
2 answers

RAILS: Access other path helpers after routing into mounted class

Say I'm integrating forem into my apps, and my routes.rb seems like this: # items resources :items, only: [:index, :show] # forem mount Forem::Engine, :at => '/forums' And In my default layout layout/Application.erb.html, there's something…
NamiW
  • 1,572
  • 4
  • 19
  • 33
1
vote
3 answers

Ruby - How to access module's methods?

I'm installing a forum using the Forem gem. There's an option that allows avatar personalization, since it's possible to login with Facebook. You just specify your method in the User model and that's it. # Forem initializer Forem.avatar_user_method…
metrobalderas
  • 5,180
  • 7
  • 40
  • 47
0
votes
1 answer

Render Application Layout in Rails Engine

I'm using the Forem engine and have a _header.html.erb partial in my main application. How would I render this partial in Forem's view? I'd rather not duplicate the code in the view.
leejay100
  • 221
  • 1
  • 2
  • 12
0
votes
0 answers

incorporating bootstrap theme for Forem gem on rails

I'm trying to have forums on an application i'm writing. I've got the forum working through the installation found on http://www.sitepoint.com/forem-rails-forum-engine/ The error I'm getting is: Sass::SyntaxError in Forem::Forums#show File to import…
Andrew Kim
  • 3,145
  • 4
  • 22
  • 42
0
votes
1 answer

Images not being displayed by Forem gem

I am new to rails. Currently I am working on developing a forum with Forem gem on rails 4.1.5. I am using CKEditor with Forem. In Forem when I upload an image it is not displayed in the output, although it is saved (as i can see the image in the…
0
votes
2 answers

Ruby on Rails 4: Why is my header image displaying in all pages but one?

I am developing based on Ruby on Rails tutorial by Michael Hartl, with the help of Devise and Forem. The code is visible at https://github.com/fchampreux/ODQ_Web. The web site is visible at http://www.opendataquality.org In my header, I included…
user1185081
  • 1,898
  • 2
  • 21
  • 46
0
votes
1 answer

Application Missing Features after Deploying to Heroku ( Forem Gem)

When deploying my application to Heroku, I'm missing my user forum, as created by gem/engine Forem. I've had to do some db resetting both on locally and heroku, but locally I've found that running rails g install:forem restores the forem in my…
0
votes
1 answer

Common Authentication Between Different Rails Apps

I have an existing rails app which is running on mongoDB and devise for authentication. Now i want to configure an open source forum (forem) at the subdomain of my app. All i want is the common authentication for both of these. If my users are…
Haseeb Ahmad
  • 11
  • 1
  • 3
0
votes
1 answer

Rails radar/forem forum engine - controlling access to certain forums or topics

I'm using forem as forum engine and have it attached to my User model. As part of my User model, I have "experts" and "novices" as the two different types of users. If I only want to show the "expert" forum to "expert" users, what is the best way to…
dmt2989
  • 1,610
  • 3
  • 17
  • 30
0
votes
1 answer

Rails Forem Bootstrap Theme not working

I'm using these gems in a Rails4 project: gem 'forem', :github => "radar/forem", :branch => "rails4" gem 'forem-bootstrap', :github => "radar/forem-bootstrap" I have this is my applications.js: //= require forem I have this in my application.css…
Reddirt
  • 5,913
  • 9
  • 48
  • 126
1
2