Displaying 20 results from an estimated 400 matches similar to: "Newbie Four Days on Rails"
2009 Jul 28
6
how to set smpt server for our rails applicaion
hi i am using technoweenie-restful-authentication plug-in for
authentication in my application. i want to send a activation link to
the user''s mail-id.
for that i need to set the smpt server for our rails application, for
that i added the follwing code in config/environment.rb file
ActionMailer::Base.delivery_method:smpt
ActionMailer::Base.smpt_settings = {
:address =>
2010 Feb 23
12
"no such file to load -- gettext/rails" error
I get the error below when I try to start my server.
Here are the versions installed:
OS: Windows Server 2008
Ruby: 1.8.7
Gems:
actionmailer (2.3.5, 1.3.5)
actionpack (2.3.5, 1.13.5)
actionwebservice (1.2.5)
activerecord (2.3.5, 1.15.5)
activeresource (2.3.5)
activesupport (2.3.5, 1.4.4)
cgi_multipart_eof_fix (2.5.0)
daemons (1.0.10)
gem_plugin
2006 Feb 09
4
Login_Engine: trouble configuring
Hi Guys,
I''m having some trouble getting login_engine to work. I''ve followed the
steps in the README file to the letter (I think) with the exception of
the Mailer stuff and cannot get my application to run. Heres what I have;
module ApplicationHelper
include login_engine
end
#####################################
require ''login_engine''
class
2006 May 03
2
WEBrick initialisation error
I am new to Ruby so I thought the best way to get into it would be to
follow the ONLamp "Rolling with Ruby on Rails" intro. I followed the
instructions to the letter and everything work just great, very
impressive:-).
A couple of days later when I went back to it I got the following
message when trying to start the WEBrick server.
U:\RoRProjects\cookbook>ruby script\server
=>
2005 Dec 30
9
cannot load engines plugin/scaffold broke
from C:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_suppo
rt/dependencies.rb:214:in `require''
from script/plugin:3
I get the above error.
Also, I cannot get scaffold to work.
I installed ruby182-15 and did a gem rails
I am using Windows XP
Thanks
Frank
_______________________________________________
Rails mailing list
2007 Feb 07
3
Gem problem with ActiveRecord/Oracle (without rails)
I have written the small script below. I have the ruby-oci adapter
installed, the newest version of gems and the newest version of
ActiveRecord. When I run the code I''m getting the follow error following
my code. It seems to be an issue with gems as far as I can tell. Any
help?
Thanks,
Drew
Code:
require ''ruby_gems''
require ''active_record''
2007 Mar 06
4
Rails 1.2 / Theme support plugin issue: Fix
This is to answer one of my old issues, that I was having using Theme
support plugin using with Rails 1.2.
When you get an latest edge Rails update and run your application which
has Theme support plugin you will get following error
/script/../config/../vendor/plugins/theme_support/lib/patches/routeset_ex.rb:26:in
`create_theme_routes'': undefined method `named_route'' for
2008 Feb 27
2
problem installing webOrb => Plugin not found: "http://themidnightcoders.net:8089/svn/weborb"
I''m trying to install weborb in my applications but it is not working
as you can see:
C:\RoR\mijnapplication>ruby script/plugin install http://themidnightcoders.net:8
089/svn/weborb --force to reinstall
+ ./README
+ ./Rakefile
+ ./init.rb
+ ./install.rb
+ ./lib/AC_OETags.js
+ ./lib/InfoService.rb
+ ./lib/data-management-config.xml
+ ./lib/example.html
+ ./lib/example.mxml
+
2005 Dec 29
2
Has any one seen this error message
I am truying to install the plugin ("ruby script/plugin install
engines"). But I get this big error. Any help?
D:\develop\Ruby\workspace\a2>ruby script/plugin install engines
script/plugin: No such file or directory - svn --version
script/plugin: No such file or directory - svn ls
http://dev.rubyonrails.com/svn
/rails/plugins/
2006 May 15
2
Error creating controllers in InstantRails-1.3a
Hi,
I was able to successfully Install InstantRails-1.3a and run cookbook throgh
Apache and WEBrick , however when I try to create my own app. cookbook2
following tutorial ( http://instantrails.rubyforge.org/tutorial/index.html)
, it gives me below error whle creating MyTest controller
Cannot find gem for Rails =1.1.2:
Install the missing gem with ''gem install -v=1.1.2
2006 Jan 02
0
problem with ruby gem activate when trying to run actionpack tests
Hi There,
so I worked out what I should be doing to try and contribute code to
rails (I''m currently working on patches for collection_select and
auto_link).
I''m following the instructions here:
http://dev.rubyonrails.org/
and have checked out actionpack. Trying to run the actionpack tests I
get this error:
D:\User\Code\ruby\actionpack\test>ruby controller/base_test.rb
2005 Mar 22
9
am i the only one with this problem?
(clean install)
>gem install rails
Attempting local installation of ''rails''
Local gem file not found: rails*.gem
Attempting remote installation of ''rails''
Install required dependency activesupport? [Yn] y
Install required dependency activerecord? [Yn] y
Install required dependency actionpack? [Yn] y
Install required dependency actionmailer? [Yn] y
2006 Apr 06
4
Record retrieval in Many-to-many using :through not working
Hello,
I get an error while retrieving records from the following model structure.
Tables
foods - id, food
foodallergies - food_id, symptom_id, a few other columns
symptoms - id, symptom
Models
class Food < ActiveRecord::Base
has_many :foodallergies
has_many :symptoms, :through => :foodallergies
end
class Symptom < ActiveRecord::Base
has_many :foodallergies
has_many :foods,
2008 Oct 14
1
Starting Server gives an error
Hi,
I had created a new environment and tried to start the webrick server
for that environment but it is giving an error:-
E:/demo/vendor/rails/railties/lib/commands/servers/
webrick.rb:11: warning: already initialized constant OPTIONS
E:/demo/vendor/rails/activesupport/lib/active_suppo
rt/dependencies.rb:249:in `load_missing_constant'': Expected E:/Demo
2008 Apr 19
1
Problem with Active Web Service on InstantRails
Hi,
I''m trying to install and use activewebservice on Rails 2.0.2(using
instantrails)
the gem install activewebservice finished succesfully.
walked through the steps listed at:
http://www.texperts.com/2007/12/21/using-action-web-service-with-rails-20/
when I try to start mongrel I get the following trace
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development
2006 Jun 24
0
Engine Newbie: Problem w/ script/plugin discover
I would like to install The Ruby Engines plugin. So, I followed the
directions at:
http://www.rails-engines.org/download
When I run script/plugin discover, I get the following:
Add http://svn.northpub.com/plugins/? [Y/n]
(eval):3:in `each'': undefined method `[]'' for nil:NilClass (NoMethodError)
from c:/ruby/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/plugin.rb:6
2006 May 24
0
Error in running functional testing
Hi,
I got the following error when i tried to run functional testing:
D:\Uni\Programming\Ruby\Project\test>ruby
functional\devices_controller_test.rb
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependenci
es.rb:200:in `const_missing'': uninitialized constant
ApplicationController (Name
Error)
from
2006 Dec 20
4
undefined method `fullname' for #<User:0x357e380>, BUT works on first view?
Hi all,
Please excuse the long post, but I wanted to make sure you have all the
information....
I have a NewsModel that looks like this:
class News < ActiveRecord::Base
belongs_to :user
validates_associated :user
validates_length_of :title, :description, :minimum => 5, :allow_nil
=> false
acts_as_commentable
acts_as_taggable
def self.find_recent
News.find(:all,
2005 Feb 27
12
Four Days on Rails
There are a number of really good beginner''s guides to Rails on the web
now - covering installation through to running the first ''scaffold''.
However, as a complete Ruby newbie, I found the next stage - moving on
to producing ''real'' applications - quite hard going.
To help others make the same journey, I''ve put together a ''next
2008 Jan 15
9
using postgres rails/rake fails
hello list,
yesterday i installed a fresh rails installation with a proper upgrade
of gem to version 1.0.1
i saw, there is still a gem package to support postgresql known as
postgres-0.7.9.2008.01.09
on rubyforge, its the newest one of stable postgres support for ruby
additionally i installed, of course, a the postgres database on my
machine to
C:\Programme\PostgreSQL\8.2
after setting up a new