Displaying 11 results from an estimated 11 matches for "antidis".
2005 Dec 23
2
Bizarre problems with AJAX / missing variables
...oilocaladdress'', :locals => {
:county => nil } %>
<% else %>
<%= render :partial => ''contacts/nielocaladdress'', :locals => {
:county => nil } %>
<% end %>
</div>
Does anyone have any ideas?
Thanks,
David Barrett
--
Site: http://antidis.com/
2005 Dec 23
10
Extending model
...else
- return cents
- end
- end
- def price=(euros)
- cents = euros * 100
- end
But it doesn''t work in RoR. Is there something I''m missing? I have a
horrible feeling there should be a ''self'' somewhere in there...
David Barrett
--
Site: http://antidis.com/
2006 Feb 22
2
Removing form observers
...one.
This would allow me to have a default country (kind-of handy as 99% of
addresses stored will be in the Republic of Ireland) and have the form
update accordingly.
Any ideas on how one would go around doing this? Documentation for
Prototype is sparse to say the least! :)
Dave
--
Site: http://antidis.com/
2006 Feb 08
1
Weird validation issue
...king'', :id => @booking
else
render :action => ''addcamper'', :layout => ''layouts/manualbooking''
end
end
If I remove the validation code, everything else works fine.
Any ideas? I''m stumped!
Dave
--
Site: http://antidis.com/
2005 Dec 31
4
observe_field with dynamic forms
I have a form where I dynamically add form elements based on user input.
An example is that when a user selects a "server" from a select box I
add (via AJAX calls back to server) a "type" select box pre-populated
with valid choices for that server. I do this by using observe_field on
the "server" field and update a div on the page with the new "type"
2005 Dec 22
3
NewbieQ : undefined method `stringify_keys!'' Dumb Question
Hi,
I''m running round in circles again! I''m trying to save a note that has a
HABTM relationship with a job. The note is new - the job exists.
In my partial for notes I have ;
<%= start_form_tag :action => ''new_note'', :id => @job %>
<%= text_area_tag "note", nil, :size => "65x10" %>
<%=submit_tag
2005 Dec 31
0
Salted Login Generated code throwing lots of errors
...#39;'][''password''])
and the line:
@login = @params[''user''][''login'']
Is there any way I can fix this problem without a lot of dull re-coding?
I''m using the Rails 0.14.4 and salted_login_generator 1.1.1
Dave
--
Site: http://antidis.com/
2002 Aug 30
1
confusing name mangling results
...erstand why I see inconsistent name
mangling between Samba and Windows 2000.
I am running:
LINUX: smbd Version 2.2.1a on linux kernel 2.4.18
MAC: Mac OS 9.1; DAVE version 2.5.2
WINDOWS 2000 PROFESSION (ServicePack 2)
According to the O'Reilly book, 'Using Samba', given a file named:
antidisestablishmentarianism.txt
According to 'Using Samba', it should mangle to:
ANTID~E3.TXT
This is what smbd 2.2.1a showed me (viewing the file name on the Mac
with DAVE ):
ANTID~7H.TXT
This is what Windows 2000 showed me (viewing the file name on the Mac
with DAVE ):
ANTIDI~1.TXT
I have...
2008 Jun 09
16
display "..." for text LONER than a certain length...
I am working on an app that has user generated content. What I''d like
to do, is display X characters of, say, a title and put "..." for the
rest. This sounds like something you see in soc networking type app
and wondering if there is some code out there to do this. thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed
2006 Apr 22
6
Friendly Reminder (OT)
Today, I had a tragic hard drive crash. I hadn''t updated anything to SVN in
two weeks.
I''m posting this here as a reminder to my beloved Rails community.
Everyone, right now..... make a backup of your rails work. Make sure its on
two disks. Many of you already do that automatically, but just make sure its
working.
Two near-release rails plugins were lost in the tragic crash
2005 Dec 29
14
Rails 1.0 - Agile book still good?
I''m new to Ruby and RoR but excited to learn what I can do with RoR; I
have Pickaxe second edition and want to get "Agile Web Development with
Rails" but I''m aware that the book was published some while before RoR
version 1.0 was released. Has a lot changed since then, and would I
therefore be advised to wait for a second edition of AWDwR?
Many thanks in advance