Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
rails_3_upgrade

Rails and Ruby upgrade

Current Version

Rails: 2.3.5 Ruby: 1.8.7

Upgrade Path

1) Upgrade rails to 2.3.18 i.e. the latest version of Rails 2 keeping the same ruby version (i.e. 1.8.7). - Done. There is a tag named trunk_rails-2.3.18 that contains this upgrade.

2) Using the upgraded rails app, upgrade the ruby version to ruby 1.9.3 (specifically Ruby 1.9.3-p547). - In progress. The branch trunk_rails3 had the in progress changes.

Softwares required

ruby - Ruby 1.9.3-p547

rubygems - 1.8.29

passenger - Needs to be compiled with ruby 1.9.3

The remaining softwares like memcached, node etc… will not change.

Check given by the rails_upgrade plugin

Known broken plugins At least one plugin in your app is broken (according to the wiki). Most of project maintainers are rapidly working towards compatibility, but do be aware you may encounter issues. More information: http://wiki.rubyonrails.org/rails/version3/plugins_and_gems

The culprits:

  1. authlogic

Deprecated test_help path You now must require 'rails/test_help' not just 'test_help'. More information: http://weblog.rubyonrails.org/2009/9/1/gem-packaging-best-practices

The culprits:

  1. test/test_helper.rb

Deprecated filter_parameter_logging calls The list of filtered parameters are now stored in /config/application.rb. For example: config.filter_parameters += [:password] More information: http://asciicasts.com/episodes/224-controllers-in-rails-3

The culprits:

  1. app/controllers/api/authentication/base_controller.rb
  2. app/controllers/application_controller.rb

New file needed: config/application.rb You need to add a config/application.rb. More information: http://omgbloglol.com/post/353978923/the-path-to-rails-3-approaching-the-upgrade

The culprits:

  1. config/application.rb

Old environment.rb environment.rb doesn't do what it used to; you'll need to move some of that into application.rb. More information: http://omgbloglol.com/post/353978923/the-path-to-rails-3-approaching-the-upgrade

The culprits:

  1. config/environment.rb

Deprecated ERb helper calls Block helpers that use concat (e.g., form_for) should use <%= instead of <%. The current form will continue to work for now, but you will get deprecation warnings since this form will go away in the future. More information: http://weblog.rubyonrails.org/

The culprits:

  1. app/views/homepage_features/new.html.erb

Deprecated constant(s) Constants like RAILS_ENV, RAILS_ROOT, and RAILS_DEFAULT_LOGGER are now deprecated. More information: http://litanyagainstfear.com/blog/2010/02/03/the-rails-module/

The culprits:

  1. app/models/company_notifier.rb
  2. app/views/layouts/main_site/main.html.haml
  3. app/views/layouts/_site_frame.html.haml
  4. app/views/shared/_google_analytics.html.haml
  5. lib/tasks/backfill.rake
  6. app/models/subscription_plan.rb
  7. app/models/notification_setting.rb
  8. app/models/document.rb
  9. app/models/theme.rb
  10. app/models/audio_annotation.rb
  11. app/controllers/developers_controller.rb
  12. lib/actionview_ex.rb
  13. lib/actioncontroller_ex.rb
  14. lib/paperclip_processors/document_converter.rb
  15. lib/paperclip_processors/pdf_converter.rb
  16. lib/paperclip_processors/document_thumbnail.rb
  17. lib/tasks/voice_extensions.rake

Soon-to-be-deprecated ActiveRecord calls Methods such as find(:all), find(:first), finds with conditions, and the :joins option will soon be deprecated. More information: http://m.onkey.org/2010/1/22/active-record-query-interface

The culprits:

  1. app/models/activity.rb
  2. app/models/invite.rb
  3. app/models/product.rb
  4. app/models/company.rb
  5. app/models/ad.rb
  6. app/models/question_pool.rb
  7. app/models/cart.rb
  8. app/models/homepage_feature.rb
  9. app/models/web_link.rb
  10. app/models/course.rb
  11. app/models/order.rb
  12. app/models/post.rb
  13. app/models/document.rb
  14. app/models/photo.rb
  15. app/models/user_subscription.rb
  16. app/models/comment.rb
  17. app/models/clipping.rb
  18. app/models/enrollment.rb
  19. app/models/certification.rb
  20. app/models/site_order.rb
  21. app/models/group.rb
  22. app/models/purchase.rb
  23. app/models/user.rb
  24. app/models/questionnaire.rb
  25. app/models/live_event.rb
  26. app/models/product_question.rb
  27. app/models/site_subscription.rb
  28. app/models/live_event_presentation.rb
  29. app/models/drop_box_item.rb
  30. app/controllers/recommendations_controller.rb
  31. app/controllers/forums_controller.rb
  32. app/controllers/questionnaires/questions_controller.rb
  33. app/controllers/my_learnings/events_controller.rb
  34. app/controllers/my_learnings/drop_boxes/users_controller.rb
  35. app/controllers/tags_controller.rb
  36. app/controllers/live_events_controller.rb
  37. app/controllers/events_controller.rb
  38. app/controllers/api/v1/categories_controller.rb
  39. app/controllers/base_controller.rb
  40. app/controllers/categories_controller.rb
  41. app/controllers/admin/courses_controller.rb
  42. app/controllers/admin/google_sso_settings_controller.rb
  43. app/controllers/admin/pricing_options_controller.rb
  44. app/controllers/admin/pricing_plans_controller.rb
  45. app/controllers/admin/dashboard_controller.rb
  46. app/controllers/topics_controller.rb
  47. app/controllers/albums_controller.rb
  48. app/controllers/certifications_controller.rb
  49. app/controllers/users_controller.rb
  50. app/controllers/sb_posts_controller.rb
  51. app/controllers/ads_controller.rb
  52. app/controllers/contents_controller.rb
  53. app/models/activity.rb
  54. app/models/tag.rb
  55. app/models/annotation.rb
  56. app/models/scorm_session.rb
  57. app/models/course.rb
  58. app/models/photo.rb
  59. app/models/tincan_session.rb
  60. app/models/enrollment.rb
  61. app/models/certification.rb
  62. app/models/group.rb
  63. app/models/user.rb
  64. app/models/live_event.rb
  65. app/models/content.rb
  66. app/models/drop_box_item.rb
  67. app/controllers/messages_controller.rb
  68. app/controllers/annotations_controller.rb
  69. app/controllers/audio_annotations_controller.rb
  70. app/helpers/admin/dashboard_helper.rb
  71. app/models/invite.rb
  72. app/models/company.rb
  73. app/models/tag.rb
  74. app/models/annotation.rb
  75. app/models/scorm_session.rb
  76. app/models/document.rb
  77. app/models/photo.rb
  78. app/models/user_subscription.rb
  79. app/models/comment.rb
  80. app/models/clipping.rb
  81. app/models/tincan_session.rb
  82. app/models/certification.rb
  83. app/models/site_order.rb
  84. app/models/group.rb
  85. app/models/purchase.rb
  86. app/models/user.rb
  87. app/models/live_event.rb
  88. app/models/product_question.rb
  89. app/models/live_event_presentation.rb
  90. app/models/drop_box_item.rb
  91. app/controllers/sessions_controller.rb
  92. app/controllers/recommendations_controller.rb
  93. app/controllers/questionnaires/questions_controller.rb
  94. app/controllers/my_learnings/drop_boxes/users_controller.rb
  95. app/controllers/messages_controller.rb
  96. app/controllers/tags_controller.rb
  97. app/controllers/live_events_controller.rb
  98. app/controllers/orders_controller.rb
  99. app/controllers/annotations_controller.rb
  100. app/controllers/api/authentication/sessions_controller.rb
  101. app/controllers/api/authentication/oauth_controller.rb
  102. app/controllers/client_applications_controller.rb
  103. app/controllers/categories_controller.rb
  104. app/controllers/audio_annotations_controller.rb
  105. app/controllers/admin/courses_controller.rb
  106. app/controllers/admin/client_apps_controller.rb
  107. app/controllers/admin/google_sso_settings_controller.rb
  108. app/models/content_version.rb
  109. app/models/product.rb
  110. app/models/company.rb
  111. app/models/poll.rb
  112. app/models/web_link.rb
  113. app/models/course.rb
  114. app/models/order.rb
  115. app/models/category.rb
  116. app/models/post.rb
  117. app/models/document.rb
  118. app/models/user_subscription.rb
  119. app/models/question.rb
  120. app/models/comment.rb
  121. app/models/response.rb
  122. app/models/enrollment.rb
  123. app/models/coupon_usage.rb
  124. app/models/site_order.rb
  125. app/models/group.rb
  126. app/models/purchase.rb
  127. app/models/user.rb
  128. app/models/client_application.rb
  129. app/models/content.rb
  130. app/models/product_question.rb
  131. app/models/site_subscription.rb
  132. app/models/drop_box_item.rb
  133. app/models/group_topic.rb
  134. app/controllers/sb_posts_controller.rb

named_scope is now just scope The named_scope method has been renamed to just scope. More information: http://github.com/rails/rails/commit/d60bb0a9e4be2ac0a9de9a69041a4ddc2e0cc914

The culprits:

  1. app/models/subscription_plan.rb
  2. app/models/content_version.rb
  3. app/models/activity.rb
  4. app/models/product.rb
  5. app/models/company.rb
  6. app/models/tag.rb
  7. app/models/wepay_account.rb
  8. app/models/response_set.rb
  9. app/models/poll.rb
  10. app/models/annotation.rb
  11. app/models/notification_setting.rb
  12. app/models/cart.rb
  13. app/models/selection.rb
  14. app/models/course.rb
  15. app/models/user_notification_setting.rb
  16. app/models/panel_position.rb
  17. app/models/group_meeting.rb
  18. app/models/order.rb
  19. app/models/category.rb
  20. app/models/drop_box_association.rb
  21. app/models/translation.rb
  22. app/models/post.rb
  23. app/models/coupon.rb
  24. app/models/document.rb
  25. app/models/featured_item.rb
  26. app/models/photo.rb
  27. app/models/disable_company_feature.rb
  28. app/models/question.rb
  29. app/models/bundle_item.rb
  30. app/models/in_person_event.rb
  31. app/models/progress_score.rb
  32. app/models/comment.rb
  33. app/models/user_invitation.rb
  34. app/models/response.rb
  35. app/models/enrollment.rb
  36. app/models/meeting.rb
  37. app/models/course_participant.rb
  38. app/models/site_order_item.rb
  39. app/models/coupon_usage.rb
  40. app/models/footer_link.rb
  41. app/models/certification.rb
  42. app/models/site_order.rb
  43. app/models/group.rb
  44. app/models/event.rb
  45. app/models/css_rule.rb
  46. app/models/privilege.rb
  47. app/models/recommendation.rb
  48. app/models/purchase.rb
  49. app/models/user.rb
  50. app/models/questionnaire.rb
  51. app/models/role.rb
  52. app/models/client_application.rb
  53. app/models/bundle.rb
  54. app/models/merchant_account.rb
  55. app/models/live_event.rb
  56. app/models/product_suggestion.rb
  57. app/models/content.rb
  58. app/models/product_question.rb
  59. app/models/site_subscription.rb
  60. app/models/voice_extension.rb
  61. app/models/announcement.rb
  62. app/models/drop_box_item.rb
  63. app/models/group_topic.rb
  64. app/models/company_email_domain.rb
  65. app/models/group_membership.rb

Deprecated AJAX helper calls AJAX javascript helpers have been switched to be unobtrusive and use :remote ⇒ true instead of having a seperate function to handle remote requests. More information: http://blog.jordanwest.me/modest-rubyist-archive/rails-3-ujs-and-csrf-meta-tags

The culprits:

  1. app/views/admin/billings/_show_subscription_history.html.haml
  2. app/views/admin/client_apps/index.html.haml
  3. app/views/admin/client_apps/_status_actions.html.haml
  4. app/views/admin/client_apps/_approve_app.html.haml
  5. app/views/admin/coupons/_details.html.haml
  6. app/views/admin/disk_usages/_user_details.html.haml
  7. app/views/admin/disk_usages/_company.html.haml
  8. app/views/admin/disk_usages/_company_details.html.haml
  9. app/views/admin/footer_texts/_form.html.haml
  10. app/views/admin/orders/_index.html.haml
  11. app/views/admin/orders/_refund_confirmation.html.haml
  12. app/views/admin/pricing_options/show.html.haml
  13. app/views/admin/pricing_plans/_show_confirmation_lightbox.html.haml
  14. app/views/admin/pricing_plans/_course_fields.html.haml
  15. app/views/admin/reports/courses_by_user/index.html.haml
  16. app/views/admin/reports/users_by_course/index.html.haml
  17. app/views/admin/site_manager/sites.html.haml
  18. app/views/admin/site_orders/show.html.haml
  19. app/views/admin/site_subscriptions/show.html.haml
  20. app/views/admin/sso_settings/show.html.haml
  21. app/views/admin/subscription_plans/_plan_list.html.haml
  22. app/views/admin/translations/index.html.haml
  23. app/views/admin/users/_user.html.haml
  24. app/views/admin/users/_approve_user.html.haml
  25. app/views/admin/users/index.html.haml
  26. app/views/admin/users/_status_actions.html.haml
  27. app/views/bookmarks/_new.html.haml
  28. app/views/bookmarks/_remove_bookmark.html.haml
  29. app/views/bundles/show.html.haml
  30. app/views/certifications/_empty_preview.html.haml
  31. app/views/certifications/show.html.haml
  32. app/views/comments/_limited_comments.html.haml
  33. app/views/comments/_show.html.haml
  34. app/views/companies/_edit_custom_domain.html.haml
  35. app/views/content_picker/_create_certification_content_menu.html.haml
  36. app/views/content_picker/_paginated_index.html.haml
  37. app/views/contents/_category.html.haml
  38. app/views/contents/_content_info.html.haml
  39. app/views/contents/_embed.html.haml
  40. app/views/contents/_item_detail.html.haml
  41. app/views/contents/_item_detail_grid_view.html.haml
  42. app/views/contents/_recently_viewed_item.html.haml
  43. app/views/contents/index.html.haml
  44. app/views/contents/show.html.haml
  45. app/views/courses/_show.html.haml
  46. app/views/documents/_edit.html.haml
  47. app/views/documents/_new.html.haml
  48. app/views/followings/_new.html.haml
  49. app/views/followings/_unfollow.html.haml
  50. app/views/groups/_discussions.html.haml
  51. app/views/groups/_group_detail.html.haml
  52. app/views/groups/_group_user_status.html.haml
  53. app/views/groups/_manage_members.html.haml
  54. app/views/groups/topics/_show.html.haml
  55. app/views/groups/topics/_reply_button.html.haml
  56. app/views/groups/topics/comments/_show.html.haml
  57. app/views/in_person_events/show.html.haml
  58. app/views/likes/_new.html.haml
  59. app/views/likes/_unlike.html.haml
  60. app/views/live_events/_empty_preview.html.haml
  61. app/views/live_events/show.html.haml
  62. app/views/messages/_message_actions.html.haml
  63. app/views/messages/_message_title_row.html.haml
  64. app/views/messages/_tab_nav.html.haml
  65. app/views/messages/index.html.haml
  66. app/views/messages/show.html.haml
  67. app/views/my_learnings/_created_by_me.html.haml
  68. app/views/my_learnings/_upcoming.html.haml
  69. app/views/my_learnings/announcements/_show.html.haml
  70. app/views/my_learnings/archived_items/_enrollment.html.haml
  71. app/views/my_learnings/archived_items/_product.html.haml
  72. app/views/my_learnings/bundles/_bundle.html.haml
  73. app/views/my_learnings/certifications/_certification.html.haml
  74. app/views/my_learnings/comments/_comment.html.haml
  75. app/views/my_learnings/contents_by_me/_content.html.haml
  76. app/views/my_learnings/courses/_course.html.haml
  77. app/views/my_learnings/drop_boxes/_content.html.haml
  78. app/views/my_learnings/drop_boxes/users/_index.html.haml
  79. app/views/my_learnings/events/_show.html.haml
  80. app/views/my_learnings/groups/_group.html.haml
  81. app/views/my_learnings/in_person_events/_in_person_event.html.haml
  82. app/views/my_learnings/index.html.haml
  83. app/views/my_learnings/live_events/_live_event.html.haml
  84. app/views/my_learnings/live_events/_status_live.html.haml
  85. app/views/my_learnings/my_groups/_show.html.haml
  86. app/views/my_learnings/posts/_post.html.haml
  87. app/views/orders/_cart.html.haml
  88. app/views/photos/_index.html.haml
  89. app/views/photos/_paginated_index.html.haml
  90. app/views/posts/_category.html.haml
  91. app/views/posts/_popular.html.haml
  92. app/views/posts/_post_detail.html.haml
  93. app/views/posts/_top_rated.html.haml
  94. app/views/posts/for_super_site/_show.html.haml
  95. app/views/posts/for_super_site/_post_detail.html.haml
  96. app/views/posts/index.html.haml
  97. app/views/product_picker/_paginated_index.html.haml
  98. app/views/product_questions/_list.html.haml
  99. app/views/product_questions/_open_questions.html.haml
  100. app/views/product_questions/_popular_questions.html.haml
  101. app/views/product_questions/_product_question.html.haml
  102. app/views/product_questions/_show.html.haml
  103. app/views/questionnaires/_new.html.haml
  104. app/views/questionnaires/_question_type_popup.html.haml
  105. app/views/questionnaires/edit.html.haml
  106. app/views/questions/checkbox/_edit.html.haml
  107. app/views/questions/fill_blanks/_edit.html.haml
  108. app/views/questions/hotspot/_edit.html.haml
  109. app/views/questions/radiobutton/_edit.html.haml
  110. app/views/questions/textarea/_edit.html.haml
  111. app/views/questions/yesno/_edit.html.haml
  112. app/views/redemptions/_coupon.html.haml
  113. app/views/reports/course_purchase_history/_payment_status.html.haml
  114. app/views/reports/show.html.haml
  115. app/views/reports/users_by_quiz/_view_details_link.html.haml
  116. app/views/reports/users_by_quiz/_details_report.html.haml
  117. app/views/reports/users_by_quiz/_details_view.html.haml
  118. app/views/reports/users_by_quiz/_view_response_link.html.haml
  119. app/views/response_sets/_edit.html.haml
  120. app/views/response_sets/_new.html.haml
  121. app/views/response_sets/_show.html.haml
  122. app/views/scorm_packages/_activity.html.haml
  123. app/views/scorm_packages/_new.html.haml
  124. app/views/shared/_add_quiz_content_link.html.haml
  125. app/views/shared/_chat_users.html.haml
  126. app/views/shared/_edit_item.html.haml
  127. app/views/shared/_group_membership_action.html.haml
  128. app/views/shared/_invitation_action.html.haml
  129. app/views/shared/_item.html.haml
  130. app/views/shared/_search_categories_popup.html.haml
  131. app/views/shared/_search_folders_popup.html.haml
  132. app/views/shared/_search_tags_popup.html.haml
  133. app/views/site_manager/_site_panel.html.haml
  134. app/views/site_manager/sites/_index.html.haml
  135. app/views/site_manager/sites/_rejected_list.html.haml
  136. app/views/site_manager/sites/_approve_list.html.haml
  137. app/views/site_manager/sites/_suspended_list.html.haml
  138. app/views/survey_responses/_edit.html.haml
  139. app/views/survey_responses/_new.html.haml
  140. app/views/survey_responses/_show.html.haml
  141. app/views/tincan_packages/_activity.html.haml
  142. app/views/tincan_packages/_new_disabled.html.haml
  143. app/views/tincan_packages/_new_enabled.html.haml
  144. app/views/users/_update_chat_status.html.haml
  145. app/views/users/courses/_empty_preview.html.haml
  146. app/views/users/orders/_index.html.haml
  147. app/views/users/posts/_post_details.html.haml
  148. app/views/users/posts/show.html.haml
  149. app/views/users/posts/toggle_visibility.js.rjs
  150. app/views/users/show.html.haml
  151. app/views/users/subscriptions/_show.html.haml
  152. app/views/video_manager/_new.html.haml
  153. app/views/video_manager/_upload_file.html.haml
  154. app/views/web_texts/_new.html.haml
  155. app/views/admin/dashboard/_show.html.haml
  156. app/views/admin/pricing_plans/_show.html.haml
  157. app/views/admin/sites/_search.html.haml
  158. app/views/admin/users/_show_roles.html.haml
  159. app/views/admin/users/_search.html.haml
  160. app/views/chats/_panel.html.haml
  161. app/views/content_picker/_collapsed.html.haml
  162. app/views/content_picker/_expanded.html.haml
  163. app/views/content_picker/_paginated_index.html.haml
  164. app/views/content_picker/_paginated_index_expanded.html.haml
  165. app/views/contents/_embed.html.haml
  166. app/views/groups/members/_new_group_message.html.haml
  167. app/views/groups/topics/_index.html.haml
  168. app/views/home/homepage_highlights/_edit.html.haml
  169. app/views/notification_settings/_index.html.haml
  170. app/views/password_resets/_new.html.haml
  171. app/views/photos/_paginated_index.html.haml
  172. app/views/polls/_poll_ui.html.haml
  173. app/views/product_picker/_collapsed.html.haml
  174. app/views/product_picker/_expanded.html.haml
  175. app/views/product_picker/_paginated_index.html.haml
  176. app/views/product_picker/_paginated_index_expanded.html.haml
  177. app/views/reports/filter_templates/_course_summary.html.haml
  178. app/views/reports/filter_templates/_course_purchase_history.html.haml
  179. app/views/reports/filter_templates/_my_course_detail.html.haml
  180. app/views/reports/filter_templates/_content_specific.html.haml
  181. app/views/reports/filter_templates/_group_user_history.html.haml
  182. app/views/reports/filter_templates/_site_groups.html.haml
  183. app/views/reports/filter_templates/_reports_search.html.haml
  184. app/views/reports/filter_templates/_site_user_history.html.haml
  185. app/views/shared/_page_form.html.haml
  186. app/views/shared/_publish_custom_appearance.html.haml
  187. app/views/users/_forgot_password.html.haml
  188. app/views/users/achievements/_select.html.haml
  189. app/views/users/analytics/_show.html.haml
  190. app/views/video_manager/_upload_file.html.haml
  191. app/views/admin/client_apps/_new.html.haml
  192. app/views/admin/client_apps/_edit.html.haml
  193. app/views/admin/footer_links/_new.html.haml
  194. app/views/admin/google_sso_settings/_edit.html.haml
  195. app/views/admin/product_subscription_settings/_form.html.haml
  196. app/views/admin/site_features/_show.haml
  197. app/views/admin/site_manager/show.html.haml
  198. app/views/admin/site_orders/_site_order_items.html.haml
  199. app/views/admin/subscription_plans/_enterprise_plan_contact_form.html.haml
  200. app/views/admin/subscription_plans/_custom_plans.html.haml
  201. app/views/admin/subscription_settings/_edit_form.html.haml
  202. app/views/admin/users/_new.html.haml
  203. app/views/admin/users/_upload_ui.html.haml
  204. app/views/api/authentication/sessions/_new.html.haml
  205. app/views/carts/_cart.html.haml
  206. app/views/categories/_new.html.haml
  207. app/views/client_applications/_new.html.haml
  208. app/views/content_availabilities/_new.html.haml
  209. app/views/contents/index.html.haml
  210. app/views/documents/_form.html.haml
  211. app/views/drop_boxes/index.html.haml
  212. app/views/drop_boxes/show.html.haml
  213. app/views/enrollments/_notice_after_enrollment.html.haml
  214. app/views/examples/groups/_new.html.haml
  215. app/views/featured_products/_new.html.haml
  216. app/views/groups/_filter.html.haml
  217. app/views/groups/live_events/_new.html.haml
  218. app/views/home/featured_items/_new.html.haml
  219. app/views/home/homepage_highlights/_edit.html.haml
  220. app/views/invites/_new.html.haml
  221. app/views/live_events/_form.html.haml
  222. app/views/merchant_account/_edit.html.haml
  223. app/views/merchant_account/_new.html.haml
  224. app/views/my_learnings/drop_boxes/upload.html.haml
  225. app/views/my_learnings/recommendations/_recommendations.html.haml
  226. app/views/my_learnings/unpublished_items/_publish_options.html.haml
  227. app/views/orders/_cart.html.haml
  228. app/views/orders/_order_form.html.haml
  229. app/views/photos/_edit.html.haml
  230. app/views/photos/_new.html.haml
  231. app/views/posts/index.html.haml
  232. app/views/questionnaires/_edit_questionnaire_form.html.haml
  233. app/views/questionnaires/_questionnaires_form.html.haml
  234. app/views/questions/_multiple_choice.html.haml
  235. app/views/questions/checkbox/_edit.html.haml
  236. app/views/questions/fill_blanks/_edit.html.haml
  237. app/views/questions/hotspot/_edit.html.haml
  238. app/views/questions/radiobutton/_edit.html.haml
  239. app/views/questions/textarea/_edit.html.haml
  240. app/views/questions/yesno/_edit.html.haml
  241. app/views/redemptions/_index.html.haml
  242. app/views/reports/show.html.haml
  243. app/views/response_sets/_edit.html.haml
  244. app/views/scorm_packages/_edit_form.html.haml
  245. app/views/scorm_packages/_new_form.html.haml
  246. app/views/sessions/_signin_form.html.haml
  247. app/views/sessions/for_super_site/_new.html.haml
  248. app/views/site_features/_index.html.haml
  249. app/views/site_manager/show.html.haml
  250. app/views/survey_responses/_edit.html.haml
  251. app/views/tags/_lightbox_new.html.haml
  252. app/views/tincan_packages/_edit_form.html.haml
  253. app/views/tincan_packages/_new_form.html.haml
  254. app/views/users/_new.html.haml
  255. app/views/users/contents/_edit.html.haml
  256. app/views/users/for_super_site/_new.html.haml
  257. app/views/users/posts/_edit.html.haml
  258. app/views/video_manager/videos/_new.html.haml
  259. app/views/video_manager/videos/_edit.html.haml
  260. app/views/web_links/_edit.html.haml
  261. app/views/web_links/_new.html.haml
  262. app/views/web_texts/_edit.html.haml
  263. app/views/web_texts/_new.html.haml
  264. app/views/admin/coupons/_new.html.haml
  265. app/views/admin/coupons/_edit.html.haml
  266. app/views/admin/css_styles/_form.html.haml
  267. app/views/admin/footer_texts/_new.html.haml
  268. app/views/admin/footer_texts/_edit.html.haml
  269. app/views/admin/site_properties/show.html.haml
  270. app/views/admin/subscription_plans/_new.html.haml
  271. app/views/admin/subscription_plans/_edit.html.haml
  272. app/views/admin/translations/_index.html.haml
  273. app/views/comments/_new.html.haml
  274. app/views/comments/_reply.html.haml
  275. app/views/companies/edit.html.haml
  276. app/views/contact_uss/_form.html.haml
  277. app/views/groups/_edit_description.html.haml
  278. app/views/groups/_edit_info.html.haml
  279. app/views/groups/_new.html.haml
  280. app/views/groups/topics/_new.html.haml
  281. app/views/groups/topics/comments/_new.html.haml
  282. app/views/home/companies/_edit.html.haml
  283. app/views/home/homepage_highlights/_edit.html.haml
  284. app/views/in_person_events/_edit.html.haml
  285. app/views/in_person_events/_new.html.haml
  286. app/views/messages/_form.html.haml
  287. app/views/my_learnings/announcements/_new.html.haml
  288. app/views/my_learnings/announcements/_edit.html.haml
  289. app/views/my_learnings/drop_boxes/course/_edit.html.haml
  290. app/views/my_learnings/drop_boxes/users/_new.html.haml
  291. app/views/my_learnings/events/_new.html.haml
  292. app/views/my_learnings/events/_edit.html.haml
  293. app/views/password_resets/_edit.html.haml
  294. app/views/product_questions/_new.html.haml
  295. app/views/product_questions/_new_question.html.haml
  296. app/views/product_questions/_reply.html.haml
  297. app/views/ratings/_rating_breakup.html.haml
  298. app/views/recommendations/_new.html.haml
  299. app/views/users/_change_password.html.haml
  300. app/views/users/_edit_description.html.haml
  301. app/views/users/_edit_email.html.haml
  302. app/views/users/_edit_name.html.haml
  303. app/views/users/_edit_personal_info.html.haml
  304. app/views/users/_new_password.html.haml
  305. app/views/users/courses/_catalog_display_date.html.haml
  306. app/views/users/posts/_new.html.haml
  307. app/views/users/posts/_edit_display_date_time.html.haml

Deprecated ActionMailer API You're using the old ActionMailer API to send e-mails in a controller, model, or observer. More information: http://lindsaar.net/2010/1/26/new-actionmailer-api-in-rails-3

The culprits:

  1. app/models/subscription_plan.rb
  2. app/models/subscription_payment.rb
  3. app/models/company.rb
  4. app/models/send_blog_published_notification.rb
  5. app/models/user_invitation.rb
  6. app/models/enrollment.rb
  7. app/models/group.rb
  8. app/models/payment.rb
  9. app/models/user.rb
  10. app/models/client_application.rb
  11. app/models/live_event.rb
  12. app/models/site_subscription.rb
  13. app/models/contact_us.rb
  14. app/controllers/base_controller.rb
  15. app/controllers/companies_controller.rb
  16. app/controllers/client_applications_controller.rb
  17. app/controllers/admin/users_controller.rb
  18. app/controllers/users_controller.rb
  19. app/controllers/salesforce/users_controller.rb
  20. app/controllers/password_resets_controller.rb

Old ActionMailer class API You're using the old API in a mailer class. More information: http://lindsaar.net/2010/1/26/new-actionmailer-api-in-rails-3

The culprits:

  1. app/models/client_application_notifier.rb
  2. app/models/company_notifier.rb
  3. app/models/user_notifier.rb
  4. app/models/question.rb
  5. app/models/client_application_notifier.rb
  6. app/models/company_notifier.rb
  7. app/models/user_notifier.rb
  8. app/models/message.rb
  9. app/models/contact_us.rb
  10. app/models/subscription_payment.rb
  11. app/models/activity.rb

Updated syntax for validate_on_* methods Validate-on-callback methods (validate_on_create/validate_on_destroy) have been changed to validate :x, :on ⇒ :create More information: https://rails.lighthouseapp.com/projects/8994/tickets/3880-validate_on_create-and-validate_on_update-no-longer-seem-to-exist

The culprits:

  1. app/models/in_person_event.rb
  2. app/models/user.rb
  3. app/models/live_event.rb

Deprecated session secret setting Previously, session secret was set directly on ActionController::Base; it's now config.secret_token. More information: http://lindsaar.net/2010/4/7/rails_3_session_secret_and_session_store

The culprits:

  1. config/initializers/session_store.rb

Old Rails generator API A plugin in the app is using the old generator API (a new one may be available at http://github.com/trydionel/rails3-generators). More information: http://blog.plataformatec.com.br/2010/01/discovering-rails-3-generators/

The culprits:

  1. vendor/plugins/acts_as_likeable/generators/
  2. vendor/plugins/acts_as_likeable/generators/acts_as_likeable_migration/
  3. vendor/plugins/delayed_job/generators/
  4. vendor/plugins/delayed_job/generators/delayed_job/
  5. vendor/plugins/acts_as_bookmarkable/generators/
  6. vendor/plugins/acts_as_bookmarkable/generators/acts_as_bookmarkable_migration/
  7. vendor/plugins/community_engine/plugins/acts_as_publishable/generators/
  8. vendor/plugins/community_engine/plugins/acts_as_publishable/generators/publishing/
  9. vendor/plugins/community_engine/plugins/simple_private_messages/generators/
  10. vendor/plugins/community_engine/plugins/simple_private_messages/generators/private_message_scaffold/
  11. vendor/plugins/community_engine/plugins/simple_private_messages/generators/private_message_model/
  12. vendor/plugins/community_engine/plugins/activity_tracker/generators/
  13. vendor/plugins/community_engine/plugins/activity_tracker/generators/activity_migration/
  14. vendor/plugins/community_engine/plugins/acts_as_taggable_on_steroids/generators/
  15. vendor/plugins/community_engine/plugins/acts_as_taggable_on_steroids/generators/acts_as_taggable_migration/
  16. vendor/plugins/community_engine/generators/
  17. vendor/plugins/community_engine/generators/plugin_migration/
  18. vendor/plugins/community_engine/generators/ce_plugin/
  19. vendor/plugins/oauth-plugin/generators/
  20. vendor/plugins/oauth-plugin/generators/oauth_provider/
  21. vendor/plugins/oauth-plugin/generators/oauth_consumer/
  22. vendor/plugins/acts_as_followable/generators/
  23. vendor/plugins/acts_as_followable/generators/acts_as_followable_migration/
  24. vendor/plugins/azabaj-acts_as_rateable/generators/
  25. vendor/plugins/azabaj-acts_as_rateable/generators/acts_as_rateable_migration/
  26. vendor/plugins/authlogic/generators/
  27. vendor/plugins/authlogic/generators/session/
  28. vendor/plugins/rails-settings/generators/
  29. vendor/plugins/rails-settings/generators/settings_migration/

Updated syntax for before_validation_on_* methods before_validation_on_* methods have been changed to before_validation(:on ⇒ :create/:update) { … } More information: https://rails.lighthouseapp.com/projects/8994/tickets/4699-before_validation_on_create-and-before_validation_on_update-doesnt-exist

The culprits:

  1. app/models/oauth_token.rb
  2. app/models/user_invitation.rb
  3. app/models/client_application.rb
  4. app/models/sso_setting.rb

Old router API The router API has totally changed. More information: http://yehudakatz.com/2009/12/26/the-rails-3-router-rack-it-up/

The culprits:

  1. config/routes.rb

Deprecated ActionMailer attribute :sent_on Using the new mailer API, you can specify :date to the mail method. More information: http://stackoverflow.com/questions/7367185/weird-error-when-delivering-mail-undefined-method-index-for-2011-09-09-2215

The culprits:

  1. app/models/client_application_notifier.rb
  2. app/models/company_notifier.rb
  3. app/models/user_notifier.rb
rails_3_upgrade.txt · Last modified: 2018/08/31 16:16 (external edit)