1 2 3
<div class="phone"> <% fields_for "member[phone_attributes][]", phone do |p| %> ...
Ruby On Three groups, three bits of...
by Etandrib,
October 30, 2007 20:41
1 2 3
def add_another(model_name, label = "Add another") ...
Ruby On Three groups, three bits of...
by Etandrib,
October 26, 2007 20:30
I also had to change the pa...
JavaScript On ImageFlow - something like ...
by Etandrib,
October 26, 2007 20:15
I'm using safari v3 and it ...
1 2 3
<%= f.text_field :first_name, :size => 15 %> ...
Ruby Three groups, three bits of...
by Etandrib,
October 25, 2007 13:42,
5 refactorings
I have three classes of peo...
1
<%= link_to_function "Remove", "mark_for_destroy(this,'.email')" %>
JavaScript On Combining javascript for 2+...
by Etandrib,
October 18, 2007 15:34
This works great. For other...
1 2 3
function mark_for_destroy(element) { ...
JavaScript Combining javascript for 2+...
by Etandrib,
October 17, 2007 21:32,
2 refactorings
This is some javascript whi...
1 2 3
<h3>Phone Numbers</h3> ...
Ruby On Combining add/remove links
by Etandrib,
October 17, 2007 20:50
Here is where I call the li...
Ruby On Combine contact attributes ...
by Etandrib,
October 16, 2007 21:56
Thanks for this. I think I ...
1 2 3
def add_phone_link(name) ...
Ruby Combining add/remove links
by Etandrib,
October 16, 2007 21:41,
4 refactorings
I've got a bunch of add and...
1 2 3
def phone_attributes=(phone_attributes) phone_attributes.each do |attributes| ...
Ruby Combine contact attributes ...
by Etandrib,
October 16, 2007 20:34,
5 refactorings
We have a model where a per...
A problem with the solution...