Displaying 4 results from an estimated 4 matches for "mbbala".
Did you mean:
bala
2007 Sep 24
3
Oracle Date + RoR
Hi Experts,
I''ve a model called Product where i''ve column called created_at,
updated_at
where i''ve made a query based on Oracle date format
like
date_of_created = ''23-SEP-07''
@product = Product.find(:all, :conditions => ["created_at=?",
date_of_created])
but in view its empty.
AND EXPERTS I''VE DATA WITH 24-SEP-07 FOR MORE
2007 Oct 24
1
simple_captcha + model
Hi Experts,
l have model called User
class User < ActiveRecord::Base
apply_simple_captcha
end
in view
<%= show_simple_captcha(:object=>"user") %>
in controller
@user = User.fiind(params[:id])
if @user.valid_with_captcha?
if @user.update_attributes(params[:use])
--------
else
---------
end
else
--------------------
end
as per this
2007 Nov 02
3
Date Issues + Oracle + RoR
Hi Experts
I''ve a product like this
ID -> 1
Name -> Xyz
Price -> 30
Created_at -> 02-NOV-07
from_date = Date.new(2, 10, 07)
to_date = Date.new(2, 10, 07)
@product = Product.find_by_sql("select * from products where
created_at between from_date and to_date")
code works perfectly, buy my issue is i dont get any data. always says
no record found
but if i use
2007 Jul 11
10
autocomplete in array
Experts,
have you figure it out with autocomplete to pass as array objects?
still i''m finding out the way to figure. :(
regards,
Bala
--~--~---------~--~----~------------~-------~--~----~
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