[Rails] Re: wrong link_to html output

2010-10-18 Thread Jule Nissen
Tim Shaffer wrote in post #955238: > You need to explicitly separate the url_options hash and the > html_options has for it to work: > > <%= link_to "Lab", { :action => :showlab }, :remote => true %> Oh, great. That's it! Everything works now. Thanks a lot. -- Posted via http://www.ruby-forum.c

[Rails] wrong link_to html output

2010-10-18 Thread Jule Nissen
I've just upgraded from rails 2 to 3 and got some problems with the link_to method! A line like this: <%= link_to "Lab", :action => :showlab, :remote => true %> creates a html link like this: Lab and not like this: Lab Is there anything wrong with the link_to syntax/line? Everything works fi

[Rails] Re: Re: link_to underlying urls/paths are showing in the actual view

2010-08-12 Thread Jule Nissen
Thanks for the tip Colin! The visible path behind the links was generated by the css print layout. Everything works fine now! Well, I still have to fix the html errors ;) /landge -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google

[Rails] Re: Re: link_to underlying urls/paths are showing in the actual view

2010-08-12 Thread Jule Nissen
Colin Law wrote: > On 12 August 2010 12:20, Jule Nissen wrote: >> Colin Law wrote: > > Could you make sure you get your quoting correct please and insert > your comments in the right place, I did not write the text below, you > did. Thanks. Ok > The w3c html validat

[Rails] Re: link_to underlying urls/paths are showing in the actual view

2010-08-12 Thread Jule Nissen
Colin Law wrote: This is what I get (IE7): Ukekalendar 1 2 3 4 etc. You can try it if you want on my testpage: http://vaktliste.nevroradiologi.no The path is only visible on my rails page thanks, landge > On 12 August 2010 10:34, Jule Nis

[Rails] link_to underlying urls/paths are showing in the actual view

2010-08-12 Thread Jule Nissen
Everything is fine with the IE 7!? What does this mean? /landge Jule Nissen wrote: > > > The path is showing up in my links too. Tried Safari and FireFox. > Did you find a solution to this problem? > > > /landge > > Matt Royer wrote: >> Thanks for th

[Rails] Re: Re: link_to underlying urls/paths are showing in the actual view

2010-08-11 Thread Jule Nissen
The path is showing up in my links too. Tried Safari and FireFox. Did you find a solution to this problem? /landge Matt Royer wrote: > Thanks for the tips Colin and Anand... Neither corrected the issue. I'm > going to see if I can do this from another system. I'm wondering if my > installati

[Rails] calendar hash

2010-08-07 Thread Jule Nissen
Hi! I'm trying to create a nested hash which should hold the dates in my database as a kind of calendar. What I did so far is obviously wrong, because I'm storing the week-number for every day in the week array. I don't really understand nested hashes and can't find the solution. what am I doing