Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Standard Way of Including Custom Tags in Rails Type Frameworks #22

@TheNotary

Description

@TheNotary

I've been wondering what the best way is to use custom tags in a rails app. Would you expect the standard way to fork this repo, edit the tags in the fork, and then point bundler at the fork? I feel like that works, but it's a little external, so there's either an easier way to do it, or it might be worth spending a little time on.

I've been thinking of a gem ruby-bbcode-rails similar to the rspec-rails gem, which when installed in a rails app will automatically create a rails initializer called config/initializer/ruby-bbcode.rb containing the tags definition.

This could lead to something like rails g ruby-bbcode:full-tags which would override the default minimal tag set and use a larger tagset located in the ruby-bbcode-rails repository.

I don't want to tackle something that big at the moment (I've already spent a little more time today off task than I meant to, lol) and it definitely should be kept out of this repo given that it's framework specific, but what are your thoughts on custom tags?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions