search for: home_link

Displaying 4 results from an estimated 4 matches for "home_link".

2007 Aug 27
2
issue with edge rails and urls
I just switched our project over to Edge Rails, and I''m running into this problem with all of my helper methods that call _url methods: NoMethodError in ''ApplicationHelper home_link should generate a valid home link when User.current and Profile.current is not set'' You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occurred while evaluating nil.<< ./spec/helpers/application_helper_spec.rb:17 Here&...
2006 Jan 04
2
Navigation Helper
I am attempting to integrate a main navigation section into my web application. Naturally the easiest and DRY way to do this would be to either include it in a layout, or as a partial. The only problem is that I want the link for the current page to have its own css id ("current"). The only way I can think to accomplish this is to just include the navigation in every page, but this is
2010 Oct 09
1
Loss of precision in read.csv.
...name latitude_deg longitude_deg elevation_ft continent iso_country iso_region municipality scheduled_service 1 6523 00A heliport Total Rf Heliport *40.0708 -74.9336 * 11 <NA> US US-PA Bensalem no gps_code iata_code local_code home_link wikipedia_link keywords 1 00A 00A And the precision is lost which we can show by using readLines: fred<-readLines("airports.csv") > fred[2] [1] "6523,\"00A\",\"heliport\",\"Total Rf Heliport\",* 40.07080078125,-74.933601...
2006 Jan 02
3
best to integrate dynamic navbar into layout
...rking but it seems like there should be a better way. Here is how I did it, please let me know if there is a better way. Rails makes so many things simple, that this seems very awkward. In my layout: <%= navigation_bar %> In my application_helper.rb if @current_page == :home @home_link = ''<td width="80" class="button_background"><a href="/store/home"><img name="home" border="0" src="/images/home_dark.gif" alt="home"></a></td>'' else @home_link = '...