similar to: error: nested-routes with nested-model having foreign keys

Displaying 20 results from an estimated 700 matches similar to: "error: nested-routes with nested-model having foreign keys"

2008 May 06
1
getaddrinfo: Name or service not known
Hi I have just tried using ActionMailer to send mail in rails.For that i followed code from railcasts.And it worked also.But some times i am getting the error "getaddrinfo: Name or service not known"..Why this happens? Please help Sijo -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed
2011 Sep 23
1
Need hint. Refresh sortable-list after draging element
Hello, i implemented a dragable list semilar to railcast 147<http://railscasts.com/episodes/147-sortable-lists> and it works fine. Each item of my list has a value wich is accumulated ... like this - Value A = 3, Sum = 3 - Value B = 4, Sum = 7 - Value C = 1, Sum = 8 When i drag Item C on item A i get this - Value C = 1, Sum = 8 - Value A = 3, Sum = 3 - Value B = 4,
2008 Feb 01
4
Help with link_to_remote
Hi!. Is there a way to call to another controller with link_to_remote? Something like this: <%= link_to_remote "Tests", { :controller => "tests", :action => "tester" } %> Salu2... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2011 Oct 21
20
How to transform my html form into a rails 3 form
Hi, I have the following code working in a rails 3 view, but it is unfortunately not pure rails code! <% @filter1 = "tr.show1,tr.show2" %> <% @filter2 = "tr.show1" %> <% @filter3 = "tr.show2" %> <form> <p> <input type="checkbox" value=<%=@filter1%> onclick="$ (this).is('':checked'')
2009 Aug 06
13
Redirect after login
Hi, I''m new to Ruby/RoR so please bare with me! I''m trying to adapt a ruby setup where someone logs in to a bonjour service via a web browser. I have the login screen which asks for host and password. There is only one user per host and i can log in fine. It''s suppose to redirect me to /list in my browser but doesn''t. Once i''ve entered the correct
2009 Nov 12
9
uninitialized constant XML::Document
Hi All, I have installed "libxml-ruby" gem on my ruby instllation. while trying to create xml document with ruby progam in Rad Rails am getting error like "uninitialized constant XML::Document (NameError)" do i need to config any thing else in environment.rb file Thanks in advance Chinna. -- Posted via http://www.ruby-forum.com/.
2012 Jul 17
24
Static Pages from Railcast
Hi everyone, I need several pages to be static but also modify when requested. I try following the railcast from Ryan at http://railscasts.com/episodes/117-semi-static-pages?view=comments Here what I have done!! rails g scaffold Pages name:string permanentlink:string title:string author:string access_level:string is_published:boolean meta_description:string meta_keyword:string
2009 Aug 06
6
initializers
I created a "config/initializers/tasks.rb" In it I have the following is all: logger.info("Running tasks") However nothing is logged or run. Am I missing something? -- Posted via http://www.ruby-forum.com/.
2014 May 22
3
Host OS, Storage Info
Hi, Is there any way to get host OS information and host Storage in formations using libvirt API...? Rgds -Sijo
2008 Oct 27
8
pagination in ajax
hi, I am curently using rails version 2.1.1. Currently i have done simple pagination using will_paginate plugin.it works.but when i am trying pagination using ajax with help of will_paginate plugin it wont works.i am also using RemoteLinkRenderer helper, but it gives an error uninitialized constant RemoteLinkRenderer. can anyone provide any tutorial or sample code so that i can
2009 Jun 02
3
valdate_presnce_of email, :if => :validate_id + Factory girl
Hi In the model I have User attr_accessor :validate_email_id validates_presence_of :email ,:if => :validate_email_id Could anybody please tell me how can I define a Factory for the above? Thanks in advance Sijo -- Posted via http://www.ruby-forum.com/.
2009 Oct 29
4
manipulating form
Hi, I work with forms and i won''t to set a name for a form to use javascript functions.. How can i do Thanks
2014 Jun 06
2
Libvirt Python Bindings - Remote Connection using openAuth.
Hi, I am using libvirt with python binding, and I want to connect to a remote host. I was able to connect after making ssh certificate, but It is not applicable for my project. So I want to use openAuth() method, but I could not succeed connecting to a remote host using it. Here is my code ------------------------ import libvirt USER = "root" PASS = "mypasswd" def
2014 Jun 06
1
Re: Libvirt Python Bindings - Remote Connection using openAuth.
Martin, What do you mean by libvirt credentials...? -Sijo On Fri, Jun 6, 2014 at 1:57 PM, Martin Kletzander <mkletzan@redhat.com> wrote: > On Fri, Jun 06, 2014 at 01:06:55PM +0530, Sijo Jose wrote: > >> Hi, >> I am using libvirt with python binding, and I want to connect to a remote >> host. >> I was able to connect after making ssh certificate, but It
2008 May 20
3
gem and pluggin
Hi This is a general question.What is the differnece between these ?Why I am asking such a question is i am using will_paginate pluggin..Now it is available as gem..So is there any performance (stability and speed of execution) difference? Thanks in advance Sijo -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because
2009 Aug 03
5
webcam image capturing
Hi Could anybody please advice me to work with wecamera in Rails. What i want to do is to capture webcam images from a machine and send that data to a remote server there it needs to be processed. I have no idea of where to start.Please help Thanks in advance Sijo -- Posted via http://www.ruby-forum.com/.
2014 Jun 03
2
LIbvirt Python Snapshot -Domain Crashing
Hi, I'm using libvirt(1.0.0) with python, for managing virtual machines.. but while taking multiple snapshot domain is crashing... Snapshot XML ------------------------- <domainsnapshot> <name>snp1</name> <creationTime></creationTime> <description>Description</description> <state></state> <domain>
2008 Sep 19
3
create Graphical charts using rails
Hi Could anybody please point me to some good links to draw Graphical charts using RubyOnRails and also suggest which is the best one? Thanks in advance Sijo -- 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,
2009 Oct 21
2
Local not passing to partial when validation error
Hello everyone, I am passing a variable (showco) to a partial using: <%= render(:partial => "form", :object => f, :locals=>{:mode => "edit", :showco => @showco } ) %> It works fine if there are no validation errors. However, when an error occurs and the form is redisplayed, the variable is not set. The @showco variable is initialized in the
2009 Jul 20
2
render :file in another window
is there a way to render a file in another window I wrote : def show @asset = Asset.find(params[:id]) respond_to do |format| format.html format.xml { render :xml => @asset } format.pdf {render :file => @asset.data.path } end end this render in the current window.... thanks for your suggestions erwin