Comments (6)
what do you mean by personalize? can you be more specific?
from rapidfire.
for example, I have users and surveys classified by departments, in the controller I have to show only surveys which belongs to the corresponding user department. in models as well I need to add more associations. Actually if I clone your project I can have access to your models, but if I install the gem I can't change your models and controllers logic.
from rapidfire.
sorry for late reply. i believe when you talk about associations, you are talking about some kind of tenancy, i.e surveys under departments. controllers are very light weight right now, you can copy them to app/controllers/rapidfire
folder, and modify them to your needs.
from rapidfire.
Hi @simo163, If you want to override module to be able to use the gem as it and only modify some things, I think you could have a starter of response here.
from rapidfire.
Hi @iffyuva yes this is what I did, I tried to use the ones in the gem for DRY reason but did not work.
@alain-andre It sounds an interesting topic, I think this is what I was looking for, I will check it out and let you know!
from rapidfire.
closing this as @alain-andre helped out with an interesting article 👍
from rapidfire.
Related Issues (20)
- Acts_as_surveyable? HOT 2
- API support HOT 4
- after attempt redirect HOT 1
- Question text as a label HOT 1
- Feature Request: Images as part of the question HOT 1
- Rails 5.1: Directly inheriting from ActiveRecord::Migration is not supported HOT 1
- Rails 5.1: Index Creation fails HOT 3
- undefined local variable or method `rapidfire' for #<Rapidfire::QuestionsController:0x0....> HOT 1
- When using checkboxes, validation always fails HOT 6
- undefined method `before_filter' for Rapidfire::SurveysController:Class Did you mean? before_action HOT 2
- ActionController::UrlGenerationError in Rapidfire::Surveys#index HOT 1
- Bundler could not find compatible versions for gem "active_model_serializers" HOT 2
- One attempt for each user
- Links for Rapidfire redirect with bad link HOT 1
- Change `after_survey_content` to `thank_you` HOT 1
- Rename locales to include rapidfire prefix HOT 1
- answers_delimiter = "\r\n" HOT 3
- undefined method `page' for Survey:Module HOT 1
- Non logged in users not able to submit responses
- Path issues HOT 4
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 rapidfire.