Displaying 5 results from an estimated 5 matches for "link_text".
2011 Aug 18
9
RJS error rails 1.2.3 + firefox 4 and above
...My code is like below
<tr id="<%= content_element_id %>">
<%= link_to_collapse(:school, content_element_id,
icon_for_backend_collapse) %>
<%= link_to_expand(:school, content_element_id, icon_for_backend_expand)
%>
def link_to_expand(model_name, content_element_id, link_text)
link_to_remote(link_text,
:url => {
:controller =>
"manage/schools",
:action => :show,
:id =>...
2007 Jan 26
0
Problems with assert_select in integration tests
...ccount", "/account/new_account_step_two",
{:first_name=>''Test'', :last_name=>''User''}
end
private
def goto_home_page
get "/"
assert_response :success
assert_template "register/list"
end
def click_link(link_text, destination)
assert_select "a[href*=#{destination}]", link_text
get destination
assert_response :success
end
def click_button(button_text, destination, params={})
assert_select "form[action=#{destination}]" do
assert_select "input[type=submit][va...
2005 May 06
17
FYI: watch out for google's web accelerator - can empty your app of data
Hi All,
A co-worker passed this info on to me:
http://37signals.com/svn/archives2/google_web_accelerator_hey_not_so_fast_an_alert_for_web_app_designers.php
The Skinny: Google has a "Web Accelerator" that pre-caches pages by
following url''s. If you have any plain/simple URL''s that don''t take
paramaters (like what often happens in rails apps), it will try to
2007 Mar 11
1
Two questions about menus
1) Feature request: the possibility to indicate a "short title" to
appear in the menu when the title would be too long.
2) Consider this site:
a.page
misc/
sub.page
Now I see in the menu:
A
Misc
| Sub
Is there any way to change "Misc" to an arbitrary string?
I tried with
misc:
title: arbitrary
with no luck.
--
Andrea Censi
"Life is
2006 Dec 29
3
Revised 2005 proposal for meta-data
Hello to all!
This is the revised 2005 proposal for meta-data, much more in detail:
http://maruku.rubyforge.org/proposal.md
http://maruku.rubyforge.org/proposal.html
http://maruku.rubyforge.org/proposal.pdf
I wait for comments.
At the end of the document, there are some open issues.
And I need a regexp wizard to look over the "grammar" section.
Cheers,
--
Andrea Censi