search for: breadcrumb

Displaying 20 results from an estimated 68 matches for "breadcrumb".

Did you mean: breadcrumbs
2006 Mar 17
10
breadcrumbs?
Before I start down this road, has anyone done a breadcrumbs implementation they''d be happy to share? Thanks Chris T
2011 Oct 08
1
Rails view spec expectations/matchers
...:view end *spec/support/view_helper.rb* module RSpec::ViewHelper def page @page ||= Capybara::Node::Simple.new(rendered) end end *spec/views/comments/index.html.haml_spec.rb* require "spec_helper" describe "comments/index.html.haml" do it "should show a proper breadcrumb" do # Assign instance vars # Mock helper methods render page.should have_selector("div.breadcrumb") page.find("div.breadcrumb").tap do |node| node.find_link("Home").should be node.find_link("Blah1").should be node....
2006 Mar 22
2
Nice breadcrumb navigation component?
Anyone aware of a Rails-based component/framework to allow for easy "breadcrumb" navigation links? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2010 Apr 21
0
Is it possible to generate a breadcrumb from Rails controller?
Dear all, Is it possible to generate a breadcrumb from Rails controller without using any additional plugin? What methods should I look into to be able to generate breadcrumb in Rails? Thank you very much in advance for your assistance. Kind regards, Joshua -- http://twitter.com/scrum8 -- You received this message because you are subscribed...
2006 Feb 22
2
Newbie seeks helps ordering ancestors from acts_as_tree
...a couple of things without success. So, can anyone tell me the best way to reverse order the retuen list of ancestors. In the controller I have: @ancestors = @category.ancestors which returns an array starting at the parent and ending with the root. When I then loop through the array to create a breadcrumb list: <% @ancestors.each do |ancestor| %> <%= link_to h(ancestor.name), :action =>"show", :id => ancestor.id %> > <% end %> I get the breadcrumb list but in the wrong order: parent > grandparent > root Should I be changing the order in the controller or...
2007 May 03
6
RSpec 0.9.2
Behind every great release is a maintenance release. Go get it while it''s hot. We''ve also reworked the website a little - trying to scare off fewer people. Aslak
2013 Oct 08
0
PostGIS 2.1 rasters available to Rails code: breadcrumbs
Just wanted to post this in case someone else was faced with the same problem. It''s database-specific code, worse, it''s specific to a particular * version* of a particular *extension* to a particular database, wires in SQL, and uses eval on a string of data from the database! So, you know, I''m getting coal in my stocking from DHH this year. I can deal. (After the
2010 Aug 03
0
how to create local subroutines properly in rails?
hi guys, Using breadcrumbs on rails (http://github.com/weppos/ breadcrumbs_on_rails), I have added a method, "set_breadcrumb" in my application controller. That will set up my home breadcrumb. In my other feedbacks controller, I have the same "set_breadcrumb" method (in a before_filter). The breadcru...
2007 Nov 01
1
How to pass data from a view to a partial rendered in a layout?
In the application I''m working on, a layout renders a partial that displays a breadcrumb navigation bar across the top of a page. In other words, the layout renders a partial that displays breadcrumbs. But the navigation bar rendered by a partial in a layout needs to use data from the view to determine which breadcrumbs to display. My question is: how can data be passed from a view...
2008 Mar 12
1
Testing helper methods in rspec
This is perhaps a naive question, but what is the recommended manner of testing a helper method in rspec? I have created a simple string manipulation function and I want to write some tests for it. It it were a script then I would just add if __FILE__ == $0 and add the tests below that but I do not feel that this is the best way to handle a rails helper. The code (I said it was simple) :
2009 Jan 18
3
ActionMailer and url_for in helper methods
...to work inside ActionMailer. I did research on the web but I can''t seem to find something that fits what I need. In my application, each user can specify their custom domain to access their. I have an ActionMailer that sends them notifications of changes that occur. In there, I have a breadcrumbs helper method, which generages something like: <a href="/page/1">1</a> &gt; <a href="/page/2">2</a> I need it to be: <a href="http://customdomain/page/1">1</a> &gt; <a href="http://customdomain/page/2">2...
2008 Apr 20
2
mod_rails showing plain text instead of actual page
...ie.css";</style><![endif]--> <link rel="icon" href="favicon.ico" type="image/x-icon"> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> </head> <body> <ul id="breadcrumb"> <li><a href="/">mysite</a></li> <li><span class="arrow">&gt;</span>error 500</li> </ul> <div id="content"> <h1>sorry, something went wrong</h1> <p&g...
2006 Jul 28
11
Forum
Im making forum and i have problem with paths. Here is code: http://pastie.caboo.se/6389 With this code, it works. But its a bit weird to use so many paths function. For every path i need to make new function. So can you suggest me something. Tables are like here: http://wiki.rubyonrails.com/rails/pages/ForumExample -- Posted via http://www.ruby-forum.com/.
2011 Mar 18
3
[LLVMdev] Reversing a function's CFG?
Hello, I was wondering if there was a quick way to reverse a function's CFG and, in turn, all basic blocks within it. Assuming all variables are globals, is there a quick way to generate a function's reversal? I highly doubt such functionality exists but I figured it was worth asking. I'm trying to develop an "undo function" generator pass that would be able to restore
2011 Feb 28
2
[LLVMdev] llvm-diff
...try something this week... Btw, I want to use a graph data structure (like Boost's) to put the metadata in and be able to assert A == B and recurse the graph to make sure everything is equals in A to B, but avoiding re-reading cycles (recursive types). Essentially what I need is a graph with breadcrumbs, is there anything in LLVM that does that? I've seen some graphs to hold types (the type resolution Chris was talking about) and other bits, but all of them are strongly typed (ie. no template parameters to use my own types, or MDNode*)... If not, I believe boost is out of the question, so I...
2006 Jun 26
0
Update_attributes working, or not? I can''t tell.
...have a basic login system implemented. I''ve recently added a timestamp field "last_activity_time". During the login process, if I successfully get back a user object, I do this: user.update_attribute(:last_activity_time, Time.now()) It appears to be successful given the breadcrumbs I''ve strewn around it, but nothing gets written out to my table. In development.log I see this: Updating record {:last_activity_time=>Mon Jun 26 11:19:00 EDT 2006} Upated record (Where Updating/Upated.. are my breadcrumbs). I''m wondering, are the underscores screwing it...
2011 Mar 23
0
[LLVMdev] Reversing a function's CFG?
...t with a >> bitfield to remember which path you took so the reverse handler can find its >> way back. So we're basically saving our control state as opposed to our >> data state as the control state is often significantly smaller. I like to >> think of it as a trail of breadcrumbs. Using different approaches we can >> handle loops, ifs, switches, etc. by following our "breadcrumbs" back. >> >> Reversing the CFG is just a piece of the puzzle. To generate our reverse >> handler, I thought a good place to start would be the reverse CFG. >...
2018 Aug 16
2
Xenial rpart package on CRAN built with wrong R version?
...rpart package in R: Not quite sure if this has been resolved. I can confirm that the Xenial rpart packages on the RRutter3.5 PPA is indeed built against R 3.5. The rpart packages on CRAN is the same as on the PPA, so I believe this is an isolated incident. Sometime the dist-upgrade leaves a few breadcrumbs that need to be cleaned up. If all else fails, remove the installed rpart package, download the correct binary from CRAN or the PPA, and install with dpkg. Hope this helps, Michael _______________________________________________ R-SIG-Debian mailing list R-SIG-Debian at r-project.org<mailto:...
2008 Aug 16
2
Partial site generation
...ent > of the changed file does not appear in the menu, only its meta > information `title`. Therefore the new system checks if the > meta information of the changed file has changed and only then > regenerates all menus. This system is now also used by all > other extensions like the breadcrumb trail or the langbar tag. I''m using webgen 0.5.2 on Windows Vista. with Ruby 1.8.6. I simply created a sample site using command ''webgen create test'', and created two pages ''test1.page'' and ''test2.page''. test |- src |- index.pa...
2006 Aug 15
5
Set up a default route
Phlip wrote: > Can I fix it by adding a view called ''inventories''? That worked, because I have a sufficiently late version of MySQL. Next question. What does "Set up a default route" mean? When I read... http://wiki.rubyonrails.com/rails/pages/Routes ...it reminds me of the Apache documentation for mod_rewrite. I hope someone appreciates the candor of my