A simple rake task that replicates the rails console
for Lotus Framework
I assume that your config/application.rb
is the place where you
initialize all Lotus boot config
below is my config/application.rb
for your interest
= semantic_nested_form_for @gallery, multipart: true do |form| | |
= form.input :file_multiple, as: :file, input_html: { multiple: true } | |
= form.actions do | |
= form.action :submit |
// Keyboard shortcuts for browsing pages of lists | |
(function($) { | |
$(document).keydown(handleKey); | |
function handleKey(e) { | |
var left_arrow = 37; | |
var right_arrow = 39; | |
if (e.target.nodeName == 'BODY' || e.target.nodeName == 'HTML') { | |
if (!e.ctrlKey && !e.altKey && !e.shiftKey && !e.metaKey) { | |
var code = e.which; |
## Rails 3.2.1 (January 26, 2012) ## | |
* No changes. |
I'd like some clarification about Ruby 2.0: | |
* Is it intended to be a development release? | |
* If it is not a development release, why are experimental features included? | |
* Whether or not it is a development release, what process will be used to remove | |
features after release? (For example, we still have $' and friends years after | |
Matz has repeatedly said he wouldn't add them in retrospect.) | |
* Why are APIs like IO.readlines not being fixed to use keyword arguments? | |
* Why are API changes not being added to RubySpec? | |
* Is Ruby 2.0 expected to pass RubySpec before release? (This does not allow for |
source "https://rubygems.org" | |
gem "pg" | |
gem "sqlite3" | |
unless version = ENV["AR"] | |
abort("specify ActiveRecord version with AR. eg: AR=2 bundle install") | |
else | |
gem "activerecord", "~> #{version}", require: "active_record" | |
end |
001-caching-with-instance-variables | |
002-dynamic-find-by-methods | |
003-find-through-association | |
004-move-find-into-model | |
005-using-with-scope | |
006-shortcut-blocks-with-symbol-to-proc | |
007-all-about-layouts | |
008-layouts-and-content-for | |
009-filtering-sensitive-logs | |
010-refactoring-user-name-part-1 |