discourse/lib/tasks
Aman Gupta Karmani 6358e79f0f
FIX: catch NoMethodError during precompile_css too (#9940)
Ran into this on heroku:

    NoMethodError: undefined method `enabled?' for #<Theme:0x0000558f069e7718>
    vendor/bundle/ruby/2.6.0/gems/activemodel-6.0.1/lib/active_model/attribute_methods.rb:431:in `method_missing'
    app/models/theme.rb:155:in `block (2 levels) in transform_ids'
    vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/relation/delegation.rb:85:in `each'
    vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/relation/delegation.rb:85:in `each'
    vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/relation/query_methods.rb:260:in `select'
    vendor/bundle/ruby/2.6.0/gems/activerecord-6.0.1/lib/active_record/relation/query_methods.rb:260:in `select'
    app/models/theme.rb:155:in `block in transform_ids'
    app/models/theme.rb:105:in `get_set_cache'
    app/models/theme.rb:140:in `transform_ids'
    app/models/theme.rb:321:in `list_baked_fields'
    app/models/theme.rb:317:in `resolve_baked_field'
    lib/stylesheet/manager.rb:289:in `theme_digest'
2020-06-02 15:18:03 +10:00
..
add_topic_to_quotes.rake
admin.rake FIX: RANDOM_PASSWORD not working rake admin:create 2020-03-15 17:24:11 +11:00
api.rake FEATURE: Hash API keys in the database (#8438) 2019-12-12 11:45:00 +00:00
assets.rake FIX: catch NoMethodError during precompile_css too (#9940) 2020-06-02 15:18:03 +10:00
auto_annotate_models.rake
autospec.rake
avatars.rake
backfill.thor
bookmarks.rake Revert "Revert "Merge branch 'master' of https://github.com/discourse/discourse"" 2020-05-23 00:56:13 -04:00
build.rake
build_test_topic.rake
categories.rake
cdn.rake
db.rake DEV: Stub #flush in StdOutDemux for multisite:migrate 2020-05-06 11:58:35 +01:00
destroy.rake
docker.rake DEV: Skip I18n in plugins until they can be updated 2020-05-14 10:40:53 -04:00
emails.rake Let's not log the username/password 2020-03-11 12:48:10 -04:00
emoji.rake FEATURE: Nokogumbo (#9577) 2020-05-05 13:46:57 +10:00
export.rake FEATURE: Rake task to export groups (#9450) 2020-04-17 14:59:54 -07:00
groups.rake
i18n.rake
images.rake
import.rake PERF: Dematerialize topic_reply_count (#9769) 2020-05-14 15:42:00 -07:00
incoming_emails.rake
integration.rake
javascript.rake DEV: ensures highlightjs is correctly tested (#9923) 2020-05-29 13:05:44 +02:00
maxminddb.rake
plugin.rake DEV: allows to run up/down migrations of a plugin (#9241) 2020-03-19 19:30:08 +01:00
populate.thor
posts.rake
qunit.rake DEV: use REPORT_REQUESTS=1 to find all requests 2020-04-02 16:01:49 +11:00
redis.rake DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00
release_note.rake Fix release notes rake task 2019-12-05 11:53:10 -05:00
rspec.rake
s3.rake FIX: S3 rake task can ignore yarn.lock 2020-04-29 13:14:04 -04:00
scheduler.rake
search.rake
site_settings.rake
smoke_test.rake
svg_icons.rake
tags.rake
themes.rake DEV: Add options to theme install rake task - more options (#9394) 2020-04-14 09:17:00 -05:00
topics.rake
turbo.rake
typepad.thor DEV: s/\$redis/Discourse\.redis (#8431) 2019-12-03 10:05:53 +01:00
uploads.rake FIX: First pass to improve efficiency of secure uploads rake task (#9284) 2020-03-26 15:59:57 +10:00
users.rake