In config/application.rb comment require active_record/railtie line
# Pick the frameworks you want:
# require active_record/railtie
require action_controller/railtie
require action_mailer/railtie
require active_resource/railtie
require sprockets/railtie
# require rails/test_unit/railtie
Gautam
when creating a new app just use -O or --skip-activerecord
rails new myApp -O
or
rails new myApp --skip-activerecord
Gautam Pai
On Thu, Dec 22, 2011 at 11:03 PM, Gomzi Pai gomzi@gmail.com wrote:
In config/application.rb comment require active_record/railtie line
# Pick the frameworks
try this link, is this what you are looking for?
http://cssglobe.com/lab/charcount/01.html
You will find complete implementation details and link to download here
http://cssglobe.com/post/7161/jquery-plugin-simplest-twitterlike-dynamic-character-count-for-textareas
Gautam Pai
On Wed, Dec 21,
plz refer the link below from railsguides
http://guides.rubyonrails.org/initialization.html
On Fri, Dec 23, 2011 at 11:28 AM, Priya D. li...@ruby-forum.com wrote:
Hi Dani,
Pls refer the below link. You can get deep idea about initialization
process.
try :scope option in your statement
eg:
validates :itemcode, :uniqueness = true, :scope = :user_id
read the documentation here
http://api.rubyonrails.org/classes/ActiveRecord/Validations/ClassMethods.html#method-i-validates_uniqueness_of
and section 3.10 uniqueness in
In rails session data is accessible only in controller. And thats how its
meant to be according to MVC.
If you really need it in view you need to set an instance variable in
controller and use it in view. But thats very bad and not supposed to be
done. If you are accessing session data in views,
go to your app root folder and try running
rake db:migrate
On Wed, Nov 16, 2011 at 8:42 AM, Scott Sewares li...@ruby-forum.com wrote:
Hello All,
I am taking a programming class and I am running into some problems with
a Rail program I am working on from a book called Beginning Rails 3,
Have you checked this --
http://railscasts.com/episodes/200-rails-3-beta-and-rvm
On Thu, Jun 10, 2010 at 8:04 AM, Niels Meersschaert
nmeersscha...@mac.comwrote:
Simplest way:
Make you are up to date with rubygems, which is what DHH was referring to
with
gem update --system
Then run:
8 matches
Mail list logo