Module: Polivalente

Defined in:
lib/polivalente.rb,
lib/polivalente/engine.rb,
lib/polivalente/railtie.rb,
lib/polivalente/version.rb,
app/models/polivalente/tag.rb,
lib/polivalente/user_locale.rb,
app/models/polivalente/trash.rb,
app/models/polivalente/follow.rb,
lib/polivalente/configuration.rb,
app/models/polivalente/archive.rb,
app/models/polivalente/comment.rb,
app/models/polivalente/tagging.rb,
app/models/polivalente/reaction.rb,
app/helpers/polivalente/enum_helper.rb,
app/helpers/polivalente/tags_helper.rb,
app/helpers/polivalente/color_helper.rb,
app/jobs/polivalente/application_job.rb,
app/jobs/polivalente/clean_trash_job.rb,
app/helpers/polivalente/gravatar_helper.rb,
app/models/concerns/polivalente/reactor.rb,
app/models/concerns/polivalente/trasher.rb,
app/models/concerns/polivalente/archiver.rb,
app/models/concerns/polivalente/sortable.rb,
app/models/concerns/polivalente/taggable.rb,
app/models/concerns/polivalente/reactable.rb,
app/models/concerns/polivalente/trashable.rb,
app/models/polivalente/application_record.rb,
app/helpers/polivalente/application_helper.rb,
app/mailers/polivalente/application_mailer.rb,
app/models/concerns/polivalente/archivable.rb,
app/models/concerns/polivalente/user_owned.rb,
app/models/concerns/polivalente/visibility.rb,
app/serializers/polivalente/tag_serializer.rb,
app/controllers/polivalente/ping_controller.rb,
app/models/concerns/polivalente/commentable.rb,
app/models/concerns/polivalente/commentator.rb,
app/serializers/polivalente/user_serializer.rb,
app/controllers/polivalente/users_controller.rb,
app/controllers/polivalente/trashes_controller.rb,
app/serializers/polivalente/comment_serializer.rb,
app/serializers/polivalente/tagging_serializer.rb,
lib/generators/polivalente/user/user_generator.rb,
app/controllers/polivalente/archives_controller.rb,
app/controllers/polivalente/comments_controller.rb,
app/serializers/polivalente/reaction_serializer.rb,
app/models/concerns/polivalente/content_hashable.rb,
lib/generators/polivalente/views/views_generator.rb,
app/controllers/polivalente/application_controller.rb,
app/controllers/polivalente/autocomplete_controller.rb,
app/controllers/polivalente/custom_devise_controller.rb,
lib/generators/polivalente/install/install_generator.rb,
lib/generators/polivalente/locales/locales_generator.rb,
lib/generators/polivalente/controllers/controllers_generator.rb

Defined Under Namespace

Modules: ApplicationHelper, Archivable, Archiver, ColorHelper, Commentable, Commentator, ContentHashable, EnumHelper, Generators, GravatarHelper, Reactable, Reactor, Sortable, Taggable, TagsHelper, Trashable, Trasher, UserLocale, UserOwned, Visibility Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Archive, ArchivesController, AutocompleteController, CleanTrashJob, Comment, CommentSerializer, CommentsController, Configuration, CustomDeviseController, Engine, Follow, PingController, Railtie, Reaction, ReactionSerializer, Tag, TagSerializer, Tagging, TaggingSerializer, Trash, TrashesController, UserSerializer, UsersController

Constant Summary collapse

VERSION =
"0.7.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject (readonly)

Returns the value of attribute config.



17
18
19
# File 'lib/polivalente.rb', line 17

def config
  @config
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



19
20
21
22
# File 'lib/polivalente.rb', line 19

def configure
  @config = Configuration.new
  yield config
end

.table_name_prefixObject

do not prefix table names with ‘polivantente_`



32
33
# File 'lib/polivalente.rb', line 32

def self.table_name_prefix
end