discourse/script/import_scripts
Ted Johansson 25a226279a
DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893)
The #pluck_first freedom patch, first introduced by @danielwaterworth has served us well, and is used widely throughout both core and plugins. It seems to have been a common enough use case that Rails 6 introduced it's own method #pick with the exact same implementation. This allows us to retire the freedom patch and switch over to the built-in ActiveRecord method.

There is no replacement for #pluck_first!, but a quick search shows we are using this in a very limited capacity, and in some cases incorrectly (by assuming a nil return rather than an exception), which can quite easily be replaced with #pick plus some extra handling.
2023-02-13 12:39:45 +08:00
..
base DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893) 2023-02-13 12:39:45 +08:00
mbox DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
nodebb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
phpbb3 DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
quandora DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
settings FEATURE: Import script for jForum 2020-06-21 12:12:42 +02:00
socialcast DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
support DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
answerbase.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
answerhub.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
askbot.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
base.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
bbpress.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
bespoke_1.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
csv_importer.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
csv_restore_staged_users.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
discuz_x.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
disqus.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
drupal_json.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
drupal_qa.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
drupal-6.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
drupal.rb Fix occasional bug in order of imported comments (#20204) 2023-02-08 22:20:46 -05:00
elgg.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
flarum_import.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
fluxbb.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
friendsmegplus.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
getsatisfaction.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
google_groups.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
higher_logic.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
ipboard.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
ipboard3.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
jforum.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
jive_api.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
jive.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
json_generic.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
kunena.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
kunena3.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
lithium.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
mbox.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
modx.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
muut.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
mybb.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
mybbru.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
mylittleforum.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
nabble.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
ning.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
phorum.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
phpbb3.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
punbb.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
question2answer.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
sfn.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
simplepress.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
smf1.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
smf2.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
sourceforge.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
stack_overflow.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
telligent.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
vanilla_body_parser.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
vanilla_mysql.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
vanilla.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
vbulletin.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
vbulletin5.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
xenforo.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
yahoogroup.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
yammer.rb DEV: Add import script for Yammer (#20074) 2023-01-31 10:12:01 +01:00
zendesk_api.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
zendesk.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00
zoho.rb DEV: Apply syntax_tree formatting to script/* 2023-01-09 11:13:22 +00:00