RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: lsrojas74
What is better Squeel or sequel?
I know what's happened, I have to use the simpleform input types instead of rails default input types '^*^
I'm newbie and follow the steps in this tutorial but validations not working (I can see the * for required fields but don't display any message). Using rails 3.2.3. Any idea?
this is the Gemfile:
source 'https://rubygems.org'
gem 'rails', '3.2.3'
gem 'sqlite3'
gem 'validates_existence', '~> 0.7.1' gem 'simple_form'
group :assets do gem 'sass-rails', '~> 3.2.3' gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes # gem 'therubyracer', :platform => :ruby
gem 'uglifier', '>= 1.0.3' gem 'therubyracer', :platform => :ruby gem 'twitter-bootstrap-rails' end
gem 'jquery-rails'
Gems included by the bundle: * actionmailer (3.2.3) * actionpack (3.2.3) * activemodel (3.2.3) * activerecord (3.2.3) * activeresource (3.2.3) * activesupport (3.2.3) * arel (3.0.2) * builder (3.0.0) * bundler (1.1.3) * commonjs (0.2.6) * erubis (2.7.0) * execjs (1.3.1) * hike (1.2.1) * i18n (0.6.0) * journey (1.0.3) * jquery-rails (2.0.2) * json (1.7.0) * less (2.2.1) * less-rails (2.2.2) * libv8 (3.3.10.4) * mail (2.4.4) * mime-types (1.18) * multi_json (1.3.4) * polyglot (0.3.3) * rack (1.4.1) * rack-cache (1.2) * rack-ssl (1.3.2) * rack-test (0.6.1) * rails (3.2.3) * railties (3.2.3) * rake (0.9.2.2) * rdoc (3.12) * sass (3.1.16) * sass-rails (3.2.5) * simple_form (2.0.1) * sprockets (2.1.3) * sqlite3 (1.3.6) * therubyracer (0.10.1) * thor (0.14.6) * tilt (1.3.3) * treetop (1.4.10) * twitter-bootstrap-rails (2.0.6) * tzinfo (0.3.33) * uglifier (1.2.4)
thanks!
What is better Squeel or sequel?
I know what's happened, I have to use the simpleform input types instead of rails default input types '^*^
I'm newbie and follow the steps in this tutorial but validations not working (I can see the * for required fields but don't display any message). Using rails 3.2.3. Any idea?
this is the Gemfile:
source 'https://rubygems.org'
gem 'rails', '3.2.3'
Bundle edge Rails instead:
gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'sqlite3'
gem 'validates_existence', '~> 0.7.1'
gem 'simple_form'
Gems used only for assets and not required
in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platform => :ruby
gem 'uglifier', '>= 1.0.3'
gem 'therubyracer', :platform => :ruby
gem 'twitter-bootstrap-rails'
end
gem 'jquery-rails'
To use ActiveModel has_secure_password
gem 'bcrypt-ruby', '~> 3.0.0'
To use Jbuilder templates for JSON
gem 'jbuilder'
Use unicorn as the app server
gem 'unicorn'
Deploy with Capistrano
gem 'capistrano'
To use debugger
gem 'ruby-debug19', :require => 'ruby-debug'
Gems included by the bundle:
* actionmailer (3.2.3)
* actionpack (3.2.3)
* activemodel (3.2.3)
* activerecord (3.2.3)
* activeresource (3.2.3)
* activesupport (3.2.3)
* arel (3.0.2)
* builder (3.0.0)
* bundler (1.1.3)
* commonjs (0.2.6)
* erubis (2.7.0)
* execjs (1.3.1)
* hike (1.2.1)
* i18n (0.6.0)
* journey (1.0.3)
* jquery-rails (2.0.2)
* json (1.7.0)
* less (2.2.1)
* less-rails (2.2.2)
* libv8 (3.3.10.4)
* mail (2.4.4)
* mime-types (1.18)
* multi_json (1.3.4)
* polyglot (0.3.3)
* rack (1.4.1)
* rack-cache (1.2)
* rack-ssl (1.3.2)
* rack-test (0.6.1)
* rails (3.2.3)
* railties (3.2.3)
* rake (0.9.2.2)
* rdoc (3.12)
* sass (3.1.16)
* sass-rails (3.2.5)
* simple_form (2.0.1)
* sprockets (2.1.3)
* sqlite3 (1.3.6)
* therubyracer (0.10.1)
* thor (0.14.6)
* tilt (1.3.3)
* treetop (1.4.10)
* twitter-bootstrap-rails (2.0.6)
* tzinfo (0.3.33)
* uglifier (1.2.4)
thanks!