Displaying 20 results from an estimated 9000 matches similar to: "Linkt_to problems"
2006 Jul 23
1
link_to
Help!
I wanted to make a ruby interpreted variable <%= @variable %> to be the
linkname of my <%= link_to "linkname", {options" %> expression.
How can I do that?
--
Anime ni naruttebayo!!!
Uchiha Itachi''s Trashcan@ptoys
http://ptoys.proboards40.com/index.cgi?board=showroom&action=display&thread=1108620582
-------------- next part --------------
An
2008 Apr 19
4
Displaying external url's
I am a rails beginner and I am having trouble displaying external urls
on view.
This is what i have in DB for ex: www.rubyonrails.com, if i try to
construct the url on the page using link_to the url formed is -
http://localhost:3000/www.rubyonrails.com.
Can someone help me in fixing this issue.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you
2008 Apr 24
2
select_tag and link_to
Does ROR allow passing the chosen value from a drop down using
select_tag into link_to ?
Basically I want to do something like:
<%= select_tag( "name", options_for_select(%w{John Doe Jane })) %>
<%= link_to "Delete",
{ :controller => "myname", :action => "add",
:id => name },
2015 Jan 05
1
Symbolic links not visible on osx 10.10
Hi Ralph,
On 05.01.15 15:00, Ralph B?hme wrote:
>> [Programs]
>> path = /server/shares/programs
>> valid users = some users
>> read only = No
>> force create mode = 0660
>> force directory mode = 0770
>> vfs objects = fruit # tried without fruit vfs, no change
>
> on first reading I thought this sound
2009 Mar 20
1
chan_ss7 with ringing, but no voice stream.
hello, all of users:
sorry, resend it again for clarifying the message. I have implemented cha_ss7 in china. initially, the
chan_ss7 can not support the call group. i modify the code.
now the problem is that, both sides can hear the ring, but i
can not hear the voice from each other.
i think the ss7 does not send the voice steam to the destination.
in chan_ss7, i added:
2006 Jul 27
4
problem with elsif
hi!
i have a little problem, im working with permissions, so if u are a
normal user, u can only view something and admins can view,edit, delete
i pick up the level, and then i check up, if the level is right, and
then i put the options. but i dont know why, the admin can only view and
delete, i mean my code only take the last link_to
here is the code:
<%= link_to "read",
2008 Mar 21
1
modifying bandwidth
Hi, Pradeep:
I believe you had some questions about modifying bandwidth for flows/VNICs.
I believe that should be fine in the recently released bits, could you please
check and lets know if you still have any questions about this.
Bandwidth limits can be modified using:
links: dladm set-linkprop -p maxbw=<value> linkname
flows: flowadm set-flowprop -p maxbw=<value> flowname
(I
2006 Jun 07
2
Hash flattening on paginator link_to
Hey
I need some help with pagination and the link_to in the view.
I''m trying to include a hash in the pagination link_to params and it
keeps flattening out my hash.
Example:
Here''s my hash called @answer:
"answer"=>{"6"=>"9bf31c7ff062936a96d3c8bd1f8f2ff3",
"7"=>"6f4922f45568161a8cdf4ad2299f6d23"}
2008 Oct 16
3
Rails: View specs and implicit parameters in link_to()
Hi all,
I''ve been cleaning up our routing file, and removed the default
map.connect ":controller/:action" route.
It''s thrown up a bunch of sloppy mistakes, which is great, but I also
think I''ve found a problem with the view specs.
We have a generic navbar partial which is rendered in the index page
of several different controllers. The navbar contains
2006 Aug 18
3
equivalent of "puts" in rhtml
Hi everyone,
This seems so basic, and yet I can''t quite figure it out.
Say I have some code in an .rhtml document:
<%=
if @session[:user_id]
link_to somethingA
else
link_to somethingB
link_to somethingC
end
-%>
Only the link to somethingC will show in the second case. I understand
that the last thing returned from that else block is that last line. In
php i could just add
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 4).
This patch adds the --link-by-hash=DIR option, which hard links received
files in a link farm arranged by MD4 file hash. The result is that the system
will only store one copy of the unique contents of each file, regardless of
the file's name.
(rev 4)
* Updated for committed robust_rename() patch, other changes in CVS.
(rev 3)
* Don't link empty files.
* Roll over to new file when
2004 Feb 17
0
[patch] Add `--link-by-hash' option (rev 3).
This patch adds the --link-by-hash=DIR option, which hard links received
files in a link farm arranged by MD4 file hash. The result is that the system
will only store one copy of the unique contents of each file, regardless of
the file's name.
(rev 3)
* Don't link empty files.
* Roll over to new file when filesystem maximum link count is reached.
* If link fails for another reason, leave
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 5).
This patch adds the --link-by-hash=DIR option, which hard links received
files in a link farm arranged by MD4 file hash. The result is that the system
will only store one copy of the unique contents of each file, regardless of
the file's name.
(rev 5)
* Fixed silly logic error.
(rev 4)
* Updated for committed robust_rename() patch, other changes in CVS.
(rev 3)
* Don't link empty
2008 Jan 03
3
how to use "link_to" to deliver a parameter?
Hello, there:
I wish A link to invoke such a action together with the parameter
"zh_CN" "cookies/switch_language/zh_CH" to switch language
sellection, and I use the following code:
<%= link_to ''Chinese'', :controller => ''cookies'', :action =>
''switch_lang'' %>
But, how is "link_to" able to convey
2008 Oct 17
1
link_to + image_tag
i want to integrated link_to with image_tag
before i did link_to with image_tag like this
<%=link_to image_tag(image.filename
2013 Mar 15
5
link_to should have its body and url arguments reversed
I think the link_to helper method is quite confusing with its arguments
order:
link_to body, url
link_to "Click me", @person
Why is it thay way round? I want to make a "link to [the] person", so I
would expect the order to be:
link_to @person, "Click me"
It reads much more natural. You don''t "link to [the] body", you "link to
2006 Jan 11
5
stack level too deep problem
Hi all, I''m trying to overload the link_to function, (to disable link_to if
the user has no access right)
this is my code, it work the first time I run the application, the second
time I refresh the page I always get "stack level too deep error"
module UsersHelper
include ActionView::Helpers::UrlHelper
alias_method :link_to_original, :link_to
def permission?
true
2007 Dec 06
2
passing parameters through link_to
Is it possible to pass parameters through link_to that will be used by
the controller that link_to directs to? Specifically I have this
code:
<% for user in @users -%>
<%= link_to user.screen_name, {:action => "index", :controller =>
"users", :user_id => user.id } %>
<% end %>
Is it possible to use the parameter at the end of link_to(:user_id
2007 Nov 14
3
absolute urls in url_for vs. link_to
In both url_for and link_to, the :only_path param can be used to
determine whether the link url used is complete with hostname and path,
or just has the path (a kind of relative url).
However, in url_for it defaults to false (urls with hostnames), and in
link_to it defaults to true ( urls without hostnames, just paths).
Is there any reason for this discrepency? To me, it violates the
principle
2006 May 24
1
link_to CSS problem
Hi all,
I''m a Ruby/Rails/web development newbie, so this may be a stupid
question. I''m putting some links using link_to into my rhtml page,
creating the layout using the DIV tag:
<div id="description">
<%= link_to h (item.description), :action => ''show'', :id => item.id
%>
</div>
...
div#description {
float: left;