search for: kad

Displaying 20 results from an estimated 64 matches for "kad".

Did you mean: had
2006 Jul 26
8
change text_field_tag class
in my booking / _form I have the following input fields : (startdate and endate) <div> <label for="startdate">Booking Start Date</label><br /> <%= text_field_tag(''startdate'', @startdate, {:class => @startdateclass, :readonly => "readonly", :maxlength => "25"} ) %> <%= observe_field("startdate",
2007 Jun 26
3
what is the :or parameter in a submit_tag ?
...9;, :or => link_to_function(''forgotten password'', "$(''reset-password'').toggle();") %> I understand the link_to_function, but what is this :or parameter used for ? the link doesn''t appear, so it cannot be used... thanks for your lights kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gma...
2006 Aug 04
3
<img onclick> vs link_to_remote()
...ot;delete",:id => @property }, :class => "additem") %> the href is "#" (the onclikc seems to be generated..) the URL is ''property/#'' and obviously the controller action is not performed.... I surely miss an important parameter... which one ? kad -- Posted via http://www.ruby-forum.com/.
2007 Jun 12
3
REST Routing issue
...rom user 25 for a specific receiver how should write my route ? I tried.... map.resources :users do |users| users.resources :messages, :member => { :send => :get } end but I got an error no route found to match "/users/25/messages;send" with {:method=>:get} thanks kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gma...
2006 Oct 14
2
sending parameters with link_to_remote Ajax Request
...<input type="hidden" name="booking[start_at]" id="f_date_s" value="booking[start_at]" /> ... <%= link_to_remote(''check period'', :url => {:action => "checkPeriod", :id => @booking }) %> thanks for your help kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gma...
2007 Dec 22
8
Rails 2.0 rescue_from
...; :deny_access ... def show @post = Post.find_by_id(params[:id]) raise ActiveRecord::RecordNotFound if @post.nil? #illegal access ..... end def deny_access respond_to do |format| format.html end end but the exception is not raised ... did I miss something ? thanks kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gman...
2007 Jan 20
2
find_by_sql with named parameterized sql
...amount > ? and quantity > ?", [ @amount, @quantity ] works;.. but Order.find_by_sql ([select * from orders where amount > :amount and quantity > :quantity ", [ :amount => @amt, :quantity => @qty ] is not working a I wrong or should I use a plain select string ? tfyl kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gma...
2006 Oct 31
3
ActionMailer how to check mail sent
...r_name => "myusername", :password => "mypassword", :authentication => :login } functional test are good... mail sent development.log contains the correct mail : Sent mail: Date: Tue, 31 Oct 2006 18:17:32 +0100 From: enregistrement-9cHsihwSe2Y@public.gmane.org To: kadoudal-ee4meeAH724@public.gmane.org Subject: PDM Test Site - Activez votre enregistrement dans PDM Content-Type: text/plain; charset=utf-8 You are now registered : ID: yves Password: eddy clic on the following url to ... no errors.. but no mail received by kadoudal-eHRmlF0ECV2tXF2fZOsJYA@public....
2007 Jun 30
2
REST Route how to avoid hacking routes
...the best protection against someone trying to modify an URL in a named route /users/25/posts if the user enter another URL /users/26/posts, he can get acces to user 26 posts unless .. a before_filter is checking the current_user ID but is there any other way to do it ? thanks for your lights kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gma...
2007 Apr 18
1
[Bridge] Google SoC proposal
...ing in Google Summer of Code program. I came across Stephen Hemminger's idea of implementing a RSTP posted on http://developer.osdl.org/dev/soc/ and found it interesting. In attachment there's my proposal, which I just submitted to google. Please share your comments. -- tadeusz andrzej kad?ubowski -------------- next part -------------- Linux RSTP implementation Google SoC Application Name: Tadeusz Andrzej Kad?ubowski Email: yess @ hell org pl IRC: yess @ freenode The aim of this project is to create a Linux Rapid Spanning Tree Protocol implementation as proposed by Mr Step...
2007 Dec 23
3
InvalidAuthenticityToken problems with my login form
I am trying to convert my codeand to use the new Rails 2.0 feature RequestForgeryProtection but I get an InvalidAuthenticityToken error, right from the beginning with my login form.. I followed the recommandations : in my environment.rb config.action_controller.session = { :session_key => ''myappname'', :secret =>
2006 Aug 13
1
select include_blank true
Is there any way to display a default message value ''Select'' rather tha an empty value when using this option ? kad -- Posted via http://www.ruby-forum.com/.
2017 Feb 02
2
AWS ami are out of date / support restricted instance subset
...to an outdated subset of EC2 instance types (at least m4.16xlarge and x1.* are missing). The AMIs are also based on 7.2.1511, which is now quite outdated. Are there any concrete plans to update the AMIs? Is this due to a lack of time, or are there other roadblocks that prevent an update? Cheers, Kad
2006 Oct 03
1
line too long in editor... (textmate)
...: here is the kind of string I am manipulating cond_a.append ["(bookings.start_at == ? OR bookings.end_at == ? ) OR (bookings.start_at <= ? AND bookings.end_at >= ? )", @selected_booking_date, @selected_booking_date, @selected_booking_date, @selected_booking_date] thansk fyh kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gma...
2007 Jan 31
1
RJS collection proxy
...gt; tags found in a div of my page.. I can get it all (seeing the index and value) using : page.select("#header_domain_map a").each do |value, index| page << ''alert(value);'' end but how can I set the classof all these elements to class="active" tfyl kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gma...
2007 Sep 08
1
Unknown Action doesn't raise exception ?
...end end trying to call an url at : http://0.0.0.0:3000/cities/new (there is no new action in the controller) I got a blank page with the following message : ----- Unknown action No action responded to new ----- how can I get my rescue_action_in_public(exception) called ? thanks kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gman...
2006 May 23
1
Status: Provisioned, Down, Active - Long
...usecallerid=yes hidecallerid=no callwaiting=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes echocancel=yes rxgain=0.0 txgain=0.0 group=1 callgroup=1 pickupgroup=1 immediate=no callprogress=no callerid=asreceived group=1 signalling=pri_cpe ; pri_cpe - kad se povezujem s provjaderom, pri_net kad sam ja provider (dva asteriska) channel => 1-15,17-31 When I call out this is what I see on CLI -- Executing NoOp("SIP/148-74a3", "Lama") in new stack -- Executing NoOp("SIP/148-74a3", "888") in new stack -- Exe...
2007 May 10
13
REST own action
...action..... but is there any possibility to use only one action and perform differently according to a parameter... how can I pass parameters to the network action ? "http://localhost:3000/users/168.xml;network&plus=true" .... is it correctly RESTFUL?..... thanks for your lights kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gma...
2006 Aug 17
2
link_to_remote option :onsuccess, execute js function
How should I define the :onsuccess option in my - link_to_remote - tag, to execute a Js function I wrote : :success => "toggleButton(this, /db_bfilter/i);" ''this'' is the current element defined in my view : <span id="db_bfilter0" class="depressed"><%= filter_link_helper "This week" %></span> <span
2007 Jul 02
3
stupid Rails rendering
...rmat| format.js { page.redirect_to posts_url if @located render :update do |page| page.replace_html ''error_message'', "Error..." page << "$(''popup_error'').popup.show();" end } end tfyl kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gma...