I have tried to simplify this as much as possible. To the best of my
ability to determine when one selects an html element via id then one
obtains the entire element contents to the termination tag.
So, I did this:
<%=h entity.entity_name.titlecase -%>
<%=h entity.entity_legal_
I am still not getting this to work. Here is what I have done:
In index.html.erb
Short Name
...
...
<% for entity in @entities %>
<%=h entity.entity_name.titlecase -%>
...
<%= "%06d" % entity.id -%>
<%= link_to 'Show Entity', entity -%>
<%= lin
On Tue, Jan 6, 2009 at 4:08 PM, James Byrne wrote:
> Zach Dennis wrote:
>>
>> Does your outputted HTML properly include a tbody in the table? If so
>> the selector you are using won't work. You would need to make match
>> any descendant rather than any direct child, ie: "table
>> tr#entity_id_1"
Zach Dennis wrote:
>
> Does your outputted HTML properly include a tbody in the table? If so
> the selector you are using won't work. You would need to make match
> any descendant rather than any direct child, ie: "table
> tr#entity_id_1"
>
I cannot find one if there is.
> On a related note (a
On Mon, Jan 5, 2009 at 4:18 PM, James Byrne wrote:
> I generate the following html on the page in question
>
>
>Just An Entity
>
>CORP
>01
>Show Entity
>Edit Entity
>Destroy Entity
>
>
>
> I have this step definition:
>
> When /I delete the "(.*)" entity/ do
I generate the following html on the page in question
Just An Entity
CORP
01
Show Entity
Edit Entity
Destroy Entity
I have this step definition:
When /I delete the "(.*)" entity/ do |row|
visits entities_url
my_entity = Entity.find_by_entity_name(