Displaying 4 results from an estimated 4 matches for "ooga".
Did you mean:
olga
2012 Jan 22
4
undefined method `gsub!' for 2012-01-22 17:00:00 -0500..2012-01-23 00:00:00 -0500:Chronic::Span
Hey all,
I am getting this error:
NoMethodError (undefined method `gsub!'' for 2012-01-22 17:00:00
-0500..2012-01-23 00:00:00 -0500:Chronic::Span):
in this code:
date_range = Chronic.parse(the_date, :guess =>
false)
reports.sum_distance_by_date(date_range).each do |d|
u[:m] << d
end
def
2011 Jun 21
2
Find by parameter
Hi,
I''m trying to do a query on controller for get list by a boolean value
I do
@movies = Movie.where(:active => 1)
This value is already on form and it is being written on database, but when
I write a block, I still picked up the list of all videos
Can anyone see what I''m doing wrong?
Thanks!
--
*Fernando Aureliano*
--
You received this message because you are
2011 Sep 21
5
bundle install rmagick error in unix
I have Rails 3 and Ruby 1.9.2
Installing rmagick (2.13.1) with native extensions
/opt/local/lib/ruby/site_ruby/1.9/rubygems/installer.rb:551:in `rescue
in block in build_extensions'': ERROR: Failed to build gem native
extension. (Gem::Installer::ExtensionBuildError)
/opt/local/bin/ruby19 extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for
2009 May 07
13
what database field type should i use ??
in a database table if there is a field which has a certain set of
fixed values. for example
staus => {Single, Married, Divorced }
OR
state => {California, Albama, Olaska ...}
so what should be preferred way out of the following for storing the
values
1. Keep the field as "string(Rails)" VARCHAR(MySQL) itself ....and
while showing the field just show the field value.
2. Keep