I can display a path like this:

```
<%= request.request_uri %> or <%= request.path %>

```

And I will get something like this:

```
/controller/action/foo1/foo2

```

How can I just get the ending path without a slash? Like in this example, it would be: "foo2". Is this possible?