Steps to follow, Ref:
- Update Gemfile
bundle installrails g rspec:install- Edit
.rspec
| # _children.html.erb | |
| <%= content_tag :ol, raw(children) %> | |
| # _controls.html.erb | |
| <%- | |
| edit = link_to '', polymorphic_url(opts[:namespace] + [node], :action => :edit), :title => t('.edit_this'), :class => 'button edit' | |
| if opts[:has_children] | |
| delete = link_to('', url_for(opts[:namespace] + [node]), | |
| :title => t('.delete'), | |
| :method => :delete, |
Steps to follow, Ref:
bundle installrails g rspec:install.rspec| it: | |
| errors: | |
| messages: | |
| not_found: "non trovato" | |
| already_confirmed: "è stato già confermato" | |
| not_locked: "non era bloccato" | |
| devise: | |
| failure: | |
| unauthenticated: "Devi accedere o registrarti per continuare." |
| namespace :heroku do | |
| desc "Generate the Heroku gems manifest from gem dependencies" | |
| task :gems do | |
| RAILS_ENV='production' | |
| Rake::Task[:environment].invoke | |
| list = Rails.configuration.gems.collect do |g| | |
| command, *options = g.send(:install_command) | |
| options.join(" ") + "\n" | |
| end | |