Sha256: 29d505ef8b082a55582c8190466ff00b450c5cbde0d66c944b9f834136557e5c

Contents?: true

Size: 915 Bytes

Versions: 8

Compression:

Stored size: 915 Bytes

Contents

%h5.section-title.text-muted
  %i.bi.bi-lightbulb
  %strong ProTip:
  %span#all-tips
    %span.tip
      Use
      %code Rails.logger.info 'message...'
      to add a message into log file
    %span.tip
      Use
      %code info(object)
      to add a Object info into log file
    %span.tip
      Use
      %code log('Tag', 'message...')
      to add a message into log file
    %span.tip
      Use
      %code error!('Tag', 'message...')
      to Stop the execution with the message and Tag in log file
    %span.tip
      Use
      %code stop!('message...')
      to Stop the execution with the message
    - if RailsExecution.configuration.file_upload
      %span.tip
        Call
        %code file('name')
        to read the file IO
:javascript
  var tipsCount = $('#all-tips span.tip').length;
  var displayIndex = Math.floor(Math.random() * tipsCount);
  $($('#all-tips span.tip')[displayIndex]).show();

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails_execution-0.1.12 app/views/rails_execution/tasks/_tips.html.haml
rails_execution-0.1.11 app/views/rails_execution/tasks/_tips.html.haml
rails_execution-0.1.10 app/views/rails_execution/tasks/_tips.html.haml
rails_execution-0.1.9 app/views/rails_execution/tasks/_tips.html.haml
rails_execution-0.1.8 app/views/rails_execution/tasks/_tips.html.haml
rails_execution-0.1.7 app/views/rails_execution/tasks/_tips.html.haml
rails_execution-0.1.5 app/views/rails_execution/tasks/_tips.html.haml
rails_execution-0.1.4 app/views/rails_execution/tasks/_tips.html.haml