dev bit of Gemfile
group :development, :test do
gem "rspec-rails"
gem 'capybara'
gem 'factory_girl_rails'
gem 'forgery'
gem "database_cleaner"
gem "mongoid-rspec"| /* Autocomplete | |
| ----------------------------------*/ | |
| .ui-autocomplete { position: absolute; cursor: default; } | |
| .ui-autocomplete-loading { background: white url('images/ui-anim_basic_16x16.gif') right center no-repeat; } | |
| /* workarounds */ | |
| * html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ | |
| /* Menu | |
| ----------------------------------*/ |
| ActiveAdmin.register AdminUser do | |
| # define routes for "autocomplete :admin_user, :email" | |
| collection_action :autocomplete_admin_user_email, :method => :get | |
| controller do | |
| autocomplete :admin_user, :email | |
| end | |
| index do | |
| column :email |
| uk: | |
| devise: | |
| confirmations: | |
| confirmed: "Ваш обліковий запис підтверджено. Ви увійшли в систему." | |
| send_instructions: "Ви отримаєте лист з інструкціями по підтвердженню вашого облікового запису протягом декількох хвилин." | |
| send_paranoid_instructions: "Якщо Ваша email адреса існує в нашій базі даних, то протягом декількох хвилин Ви отримаєте лист з інструкціями по підтвердженню Вашого облікового запису." | |
| failure: | |
| already_authenticated: "Ви вже увійшли в систему." | |
| inactive: "Ваш обліковий запис ще не активований." | |
| invalid: "Невірний email чи пароль." |
| #!/usr/bin/env ruby | |
| require 'english' | |
| require 'rubocop' | |
| ADDED_OR_MODIFIED = /A|AM|^M/.freeze | |
| changed_files = `git status --porcelain`.split(/\n/). | |
| select { |file_name_with_status| | |
| file_name_with_status =~ ADDED_OR_MODIFIED |
dev bit of Gemfile
group :development, :test do
gem "rspec-rails"
gem 'capybara'
gem 'factory_girl_rails'
gem 'forgery'
gem "database_cleaner"
gem "mongoid-rspec"Bootstrap 3.0 gives you access to the awesome icon set icon set by these dudes but it's not obvious for a Rails newbie like myself to get it all working together nicely
RAILS_ROOT/vendor/assets/stylesheet/bootstrap-glyphicons.css/dist/fonts from the Bootstrap 3.0 download to a new folder in your Rails app RAILS_ROOT/vendor/assets/fontsconfig.assets.paths << Rails.root.join("vendor","assets", "fonts") to application.rb after the line that has class Application < Rails::Application.bootstrap-glyphicons.css modify the the `url| # spec/support/screen_size.rb | |
| module ScreenSize | |
| SCREENS = { | |
| small: { width: 590 , height: 768 }, | |
| medium: { width: 1025, height: 768 }, | |
| large: { width: 1280, height: 768 } | |
| } |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!