[Rails] Re: error message in rails

2012-01-17 Thread Kapil Kaligotla
In my model i had used the validation validates :first_name,      :format = {:with = /^[a-zA-Z.\s]*$/ i}, :length = {:minimum = 1, :maximum = 25}, :presence = true in views div class=field %= f.label :first_name %nbsp; %= f.text_field :first_name % /div in the browser i am getting

Re: [Rails] Re: error message in rails

2012-01-17 Thread Colin Law
On 17 January 2012 11:20, Kapil Kaligotla kapil.kaligo...@magikminds.com wrote: In my model i had used the validation validates :first_name,      :format = {:with = /^[a-zA-Z.\s]*$/ i}, :length = {:minimum = 1, :maximum = 25}, :presence = true in views div class=field    %= f.label

Re: [Rails] Re: error message in rails

2012-01-17 Thread Hassan Schroeder
On Tue, Jan 17, 2012 at 3:20 AM, Kapil Kaligotla kapil.kaligo...@magikminds.com wrote: validates :first_name,      :format = {:with = /^[a-zA-Z.\s]*$/ i}, :length = {:minimum = 1, :maximum = 25}, :presence = true Your format regex will pass an empty string (), or a string of nothing but space

[Rails] Re: Error message while starting rails server

2012-01-09 Thread Luis Lavena
On Jan 9, 7:49 am, serpent403 aman.webdra...@gmail.com wrote: I am getting the below errors whenever i try to start my rails server (rails s) or install a new gem. Can ne1 tell me how to get rid of them? http://blog.rubygems.org/2011/08/31/shaving-the-yaml-yak.html TL;DR: gem update --system

[Rails] Re: error message of a child object

2010-05-07 Thread oren
thanks, looking into this thread. On May 7, 5:30 am, Michael Pavling pavl...@gmail.com wrote: On 7 May 2010 00:49, oren orengo...@gmail.com wrote: in my update action of Key, if the key has non-valid value object I see this error message: Translation values is invalid why don't I see:  

[Rails] Re: Error message

2009-01-08 Thread Shandy Nantz
Rob Biedenharn wrote: If you have 'defaults' instead of :defaults, then just change it to a symbol and it will do the right thing. That was the issue, I had defaults instead of :defaults. Thanks Rob, -S -- Posted via http://www.ruby-forum.com/.

[Rails] Re: Error message

2009-01-07 Thread Rob Biedenharn
On Jan 7, 2009, at 4:53 PM, Shandy Nantz wrote: I have this app where people can build a profile full of various kinds of data. The first page that they see when they create their profile is a page named 'new'. If you add an id number for the company you work for - one that is

[Rails] Re: Error message when installing rails

2009-01-04 Thread cutegirl
It works wonderfully. Thanks again. On Jan 3, 11:32 pm, Ethan Gunderson twea...@gmail.com wrote: Awesome, please post back and let us know how it went! Ethan Gunderson On Sat, Jan 3, 2009 at 10:29 PM, cutegirl wei.w...@gmail.com wrote: Thanks for the help. I will try the link you

[Rails] Re: Error message when installing rails

2009-01-03 Thread Ethan Gunderson
What OS are you trying to install on? Ethan Gunderson On Sat, Jan 3, 2009 at 1:21 PM, cutegirl wei.w...@gmail.com wrote: After I entered the command gem install rails --include-dependencies for a while, an error message ERROR: while executing gem... (Zlib::BufError) buffer error. How can

[Rails] Re: Error message when installing rails

2009-01-03 Thread cutegirl
Windows XP On Jan 3, 6:37 pm, Ethan Gunderson twea...@gmail.com wrote: What OS are you trying to install on? Ethan Gunderson On Sat, Jan 3, 2009 at 1:21 PM, cutegirl wei.w...@gmail.com wrote: After I entered the command gem install rails --include-dependencies for a while, an error

[Rails] Re: Error message when installing rails

2009-01-03 Thread Ethan Gunderson
I'm not sure what guide you followed, but this is the one I use for all of my Windows installs and it seams to work everytime. http://wiki.rubyonrails.org/rails/pages/RailsOnWindows Ethan Gunderson On Sat, Jan 3, 2009 at 9:21 PM, cutegirl wei.w...@gmail.com wrote: Windows XP On Jan 3,

[Rails] Re: Error message when installing rails

2009-01-03 Thread cutegirl
Thanks for the help. I will try the link you provided. On Jan 3, 10:41 pm, Ethan Gunderson twea...@gmail.com wrote: I'm not sure what guide you followed, but this is the one I use for all of my Windows installs and it seams to work everytime.

[Rails] Re: Error message when installing rails

2009-01-03 Thread Ethan Gunderson
Awesome, please post back and let us know how it went! Ethan Gunderson On Sat, Jan 3, 2009 at 10:29 PM, cutegirl wei.w...@gmail.com wrote: Thanks for the help. I will try the link you provided. On Jan 3, 10:41 pm, Ethan Gunderson twea...@gmail.com wrote: I'm not sure what guide you

[Rails] Re: error message

2008-11-02 Thread Frederick Cheung
On 2 Nov 2008, at 18:53, Delirium tremens wrote: When I run a test, I get the error message: FormatError: Bad data for Story fixture named two (nil). What should I do about it? sounds like your stories.yml fixture file has something fishy in it. Fred

[Rails] Re: error message

2008-11-02 Thread Delirium tremens
My stories.yml file did not have identation. I added it, with 2 spaces, then it worked! On 2 nov, 17:08, Frederick Cheung [EMAIL PROTECTED] wrote: On 2 Nov 2008, at 18:53, Delirium tremens wrote: When I run a test, I get the error message: FormatError: Bad data for Story fixture named

[Rails] Re: error message 'undefined method `require_gem' for main:Object (NoMethodError)'--how to resolve?

2008-09-30 Thread Kenneth McDonald
Unfortunately, it's not my code that's causing the problem, and I don't know what is out of date that I need to update. This all started when I upgraded to RoR 2.x (with dependencies). I can't do anything about the code that's in there, except try to figure out how to upgrade whatever is

[Rails] Re: error message 'undefined method `require_gem' for main:Object (NoMethodError)'--how to resolve?

2008-09-30 Thread Hunt Jon
'rake' itself is a gem. Can you try sudo gem update rake ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com To

[Rails] Re: error message 'undefined method `require_gem' for main:Object (NoMethodError)'--how to resolve?

2008-09-30 Thread Frederick Cheung
On 30 Sep 2008, at 17:39, Kenneth McDonald wrote: Heh, rake rails:update gives the same error. Sigh. Advice much appreciated, though. Ah well you'll just have to fix the files yourself. replace occurrences of require_gem with gem Fred Apparently I have an old lib of some sort hanging

[Rails] Re: error message 'undefined method `require_gem' for main:Object (NoMethodError)'--how to resolve?

2008-09-30 Thread Hunt Jon
require_gem 'gemname' is now to require 'rubygems' require 'gemname' This is how you convert. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to