Beginners Question - Got Monologue to Work, but I want to Customize It

64 views
Skip to first unread message

pro.d...@gmail.com

unread,
Sep 18, 2013, 3:44:03 PM9/18/13
to monolo...@googlegroups.com
Hey Jean & team!

First off, thank you for creating such an easy-to-install gem. Even for me, it was straight forward (and I'm a beginner).

So Monologue is mounted. I can create posts, looks good.
I don't see the controllers or views though (is this how installing gems work?)

Anyways, what I want to do from here is: add more models to Monologue

for example: for tags, I want them to have_many "chains."

And each "chain" has_many tags.


How do I do such customization? Do I have to pull your code and change it that way, or can I do it from where I'm at now?


You guys rock,

Michael Sevestre

unread,
Sep 18, 2013, 3:59:30 PM9/18/13
to pro.d...@gmail.com, monolo...@googlegroups.com

Hi,

Thanks for the kind words.
I see two options
1: if you're changes could benefit a lot of users, why not do a pull request? I am unsure however of what you mean by "chain".

2: alternatively, you can modify any existing model by simply reopening the class and adding the code that is specific to your application.

Let me know if you need more info
Cheers

--
You received this message because you are subscribed to the Google Groups "Monologue" group.
To unsubscribe from this group and stop receiving emails from it, send an email to monologue-rb...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

pro.d...@gmail.com

unread,
Sep 18, 2013, 5:08:39 PM9/18/13
to monolo...@googlegroups.com, pro.d...@gmail.com

I think my modifications will be more fitting for #2.

How would I do that?

For example, I want to create:
=> :monologue_tags has_many :steps
=> :steps has_many :monologue_tags


My vocabulary isn't too strong, so I don't understand when you say:
modify any existing model (monologue_tags) => how would I access that?
reopening the class => what files/folder is that?


Should I be seeing the monologue controllers and views at this point (after gem install?)

Thanks for taking the time to mentor me through some of this

Reply all
Reply to author
Forward
0 new messages