Thank you so much for all your help!
On Mar 5, 2:44 pm, Michael Pavling pavl...@gmail.com wrote:
On 5 March 2010 17:02, xxdesmus xxdes...@gmail.com wrote:
So I have a bunch of form fields that I need to add up their
values, and make sure their sum does not except the value entered
in a form to take a value.
On Mar 7, 8:45 am, xxdesmus xxdes...@gmail.com wrote:
Thank you so much for all your help!
On Mar 5, 2:44 pm, Michael Pavling pavl...@gmail.com wrote:
On 5 March 2010 17:02, xxdesmus xxdes...@gmail.com wrote:
So I have a bunch of form fields that I need
I tried date_select but I kept getting a bunch of errors.
On Mar 7, 3:01 pm, Viorel viorelvl...@gmail.com wrote:
Hey, you don't happen to know of a simple way of implementing a date
picker for a field in a form do you? I was hoping to accomplish this
without needing to track down a plugin
Hi,
I'm relatively new to RoR so pardon if this is a really stupid
question. I have a text field where people will be entering a
username. I need to figure out a way to either
1. validate the field so that it will not be accepted unless they've
entered all uppercase letters for their username --
I'd be putting this:
def username=(value)
write_attribute(:username, value.upcase)
end
in my controller right? Sorry for the beginning questions...
On Mar 5, 11:12 am, Michael Pavling pavl...@gmail.com wrote:
On 5 March 2010 16:05, Andy Jeffries andyjeffr...@gmail.com wrote:
2.
When I add this to my model:
def after_initialize
:date = Date.today
end
I get this error -- /home/xxdesmus/timetool/app/models/post.rb:38:
syntax error, unexpected '=', expecting kEND :date = Date.today ^
when I try it this way:
def after_initialize
date = Date.today
end
6 matches
Mail list logo