Skip to content
View HeatherB's full-sized avatar

Organizations

@SesameWebTeam
Block or Report

Block or report HeatherB

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. Setup i18n in Refinery CMS Setup i18n in Refinery CMS
    1
    # app/controllers/application_controller.rb
    2
    
                  
    3
    Class ApplicationController < ActionController::Base
    4
      . . .
    5
      before_action :set_locale
  2. Add a field to Refinery blog posts Add a field to Refinery blog posts
    1
    # db/migrate/1585076360_name_of_migration.rb
    2
    
                  
    3
    class NameOfMigration < ActiveRecord::Migration
    4
      def change
    5
        add_column :refinery_blog_posts, :name_of_field, :text
  3. HTML email HTML email
    1
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    2
    <html xmlns="http://www.w3.org/1999/xhtml">
    3
    <head>
    4
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    5
      <title>The Hockey Review</title>
  4. About ERB About ERB
    1
    <% %> 
    2
    an opening and closing tag, ruby will evalute the code between them
    3
    
                  
    4
    EXAMPLE USE:
    5
    An 'if' statement is a very common use of this tag structure.
  5. AJAX with Rails AJAX with Rails
    1
    # app/views/refinery/pages/home.html.erb
    2
    
                  
    3
    <div id="filter-platform">
    4
         <span data-platform="all" class="filter-all homefilter">
    5
              <%=t :platform_all %>
  6. catalog catalog Public

    JavaScript