From beingthexemplary at gmail.com Sat Sep 1 02:57:10 2007 From: beingthexemplary at gmail.com (aaron smith) Date: Sat, 1 Sep 2007 02:57:10 -0400 Subject: [Rubyamf-discussion] RubyAMF 1.3 RC2, Get it while it's HOT Message-ID: Hi All, Check out the latest release. blog.rubyamf.org -Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070901/97f73c7c/attachment.html From beingthexemplary at gmail.com Thu Sep 13 02:32:24 2007 From: beingthexemplary at gmail.com (aaron smith) Date: Wed, 12 Sep 2007 23:32:24 -0700 Subject: [Rubyamf-discussion] RubyAMF 1.3.2a Message-ID: Hi Everyone, Please check out 1.3.2a: http://blog.rubyamf.org Thanks Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070912/0c76da70/attachment.html From beingthexemplary at gmail.com Mon Sep 17 00:45:31 2007 From: beingthexemplary at gmail.com (aaron smith) Date: Sun, 16 Sep 2007 21:45:31 -0700 Subject: [Rubyamf-discussion] RubyAMF 1.3.3 Message-ID: http://blog.rubyamf.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070916/c9e26ba2/attachment.html From mllobrera at domanistudios.com Mon Sep 17 12:13:45 2007 From: mllobrera at domanistudios.com (Mark Llobrera) Date: Mon, 17 Sep 2007 12:13:45 -0400 Subject: [Rubyamf-discussion] RubyAMF 1.3.3 In-Reply-To: References: Message-ID: Aaron ? I'm noting some odd behavior with my REST test application since updating to 1.3.3 from 1.3 RC2. This is the same test app that you were helping Chuck Fletcher and me debug a while back. I have a simple 'Events' database with name/description/date for different Events, and a Flash front-end to create/update/destroy the events. All of those operations work from the flash front end, but once I've done any of those operations from the flash front end I can no longer create/edit events via the browser. This was not the case for 1.3 RC2, where the app still functioned properly via the browser even after remoting calls were made. When viewing the development log I don't see any errors ? I see the request to create/update an Event go through, but nothing is rendered back to the browser. I had thought that it might be related to the way I'm still explicitly grabbing params by index in the controller, like: def update if @is_amf @event = Event.find(params[0]) @event.name=params[1] @event.description=params[2] @event.date=params[3] else @event = Event.find(params[:id]) end respond_to do |format| if @event.update_attributes(params[:event]) flash[:notice] = 'Event was successfully updated.' format.html { redirect_to event_url(@event) } format.xml { head :ok } format.amf { render :amf => @event } else format.html { render :action => "edit" } format.xml { render :xml => @event.errors.to_xml } end end end but switching away from the indexed params ? like @event = Event.find (params[:id]) ? results in the same behavior. Thanks in advance. -Mark From beingthexemplary at gmail.com Tue Sep 18 02:57:17 2007 From: beingthexemplary at gmail.com (aaron smith) Date: Mon, 17 Sep 2007 23:57:17 -0700 Subject: [Rubyamf-discussion] rubyamf 1.3.3a Message-ID: Hey All, Just put out 1.3.3a that has some minor fixes. Please see the release log: http://wiki.rubyamf.org/wiki/show/ReleaseLog Thanks, -Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070917/e55f871a/attachment-0001.html From jcastelain at gmail.com Tue Sep 18 07:17:55 2007 From: jcastelain at gmail.com (julien castelain) Date: Tue, 18 Sep 2007 13:17:55 +0200 Subject: [Rubyamf-discussion] RubyAMF & Flex SDK Message-ID: <57b444a70709180417v52499a94o898eda9166867df3@mail.gmail.com> Hi all, This is quite a basic question, but I didn't find the answer on the web, excuse me if there's already something posted about this. I'm using the Flex SDK and I wanted to try RubyAMF (I'm really new to Ruby) When I try to compile my "HelloWorld" example from the tutorials I use this to compile : mxmlc src/HelloWorld.mxml -o bin/helloworld.swf -compiler.include-libraries rpc.swc --services="services-config.xml" And I get the following error : -------------------------------------------------------------------------------------------------------------------------------- Error: org/apache/xpath/CachedXPathAPI java.lang.NoClassDefFoundError: org/apache/xpath/CachedXPathAPI at flex.messaging.config.ApacheXPathClientConfigurationParser.initialize ExpressionQuery(ApacheXPathClientConfigurationParser.java:42) at flex.messaging.config.AbstractConfigurationParser.parse (AbstractConfi gurationParser.java:65) at flex.messaging.config.ServicesDependencies.getClientConfiguration (Ser vicesDependencies.java:123) at flex.messaging.config.ServicesDependencies .(ServicesDependencie s.java:39) at flex2.compiler.common.CompilerConfiguration.getServicesDependencies(C ompilerConfiguration.java:1036) at flex2.tools.Compiler.calculateServicesChecksum(Compiler.java:618) at flex2.tools.Compiler.processConfiguration(Compiler.java:555) at flex2.tools.Compiler.mxmlc(Compiler.java:71) at flex2.tools.Compiler.main(Compiler.java:42) -------------------------------------------------------------------------------------------------------------------------------- Could someone help me out, or tell me what I'm doing wrong here? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070918/95758ce7/attachment.html From beingthexemplary at gmail.com Tue Sep 18 13:23:49 2007 From: beingthexemplary at gmail.com (aaron smith) Date: Tue, 18 Sep 2007 10:23:49 -0700 Subject: [Rubyamf-discussion] RubyAMF & Flex SDK In-Reply-To: <57b444a70709180417v52499a94o898eda9166867df3@mail.gmail.com> References: <57b444a70709180417v52499a94o898eda9166867df3@mail.gmail.com> Message-ID: >From the compiler errors it looks like your services config file has some errors in it. Try this one: * -Aaron On 9/18/07, julien castelain wrote: > > Hi all, > > This is quite a basic question, but I didn't find the answer on the web, > excuse me if there's already something posted about this. > I'm using the Flex SDK and I wanted to try RubyAMF (I'm really new to > Ruby) > > When I try to compile my "HelloWorld" example from the tutorials I use > this to compile : > > mxmlc src/HelloWorld.mxml -o bin/helloworld.swf - > compiler.include-libraries rpc.swc --services="services-config.xml " > > And I get the following error : > > -------------------------------------------------------------------------------------------------------------------------------- > Error: org/apache/xpath/CachedXPathAPI > > java.lang.NoClassDefFoundError: org/apache/xpath/CachedXPathAPI > at > flex.messaging.config.ApacheXPathClientConfigurationParser.initialize > ExpressionQuery(ApacheXPathClientConfigurationParser.java:42) > at flex.messaging.config.AbstractConfigurationParser.parse > (AbstractConfi > gurationParser.java:65) > at > flex.messaging.config.ServicesDependencies.getClientConfiguration(Ser > vicesDependencies.java:123) > at flex.messaging.config.ServicesDependencies > .(ServicesDependencie > s.java:39) > at > flex2.compiler.common.CompilerConfiguration.getServicesDependencies(C > ompilerConfiguration.java:1036) > at flex2.tools.Compiler.calculateServicesChecksum(Compiler.java > :618) > at flex2.tools.Compiler.processConfiguration(Compiler.java:555) > at flex2.tools.Compiler.mxmlc(Compiler.java:71) > at flex2.tools.Compiler.main (Compiler.java:42) > > -------------------------------------------------------------------------------------------------------------------------------- > > Could someone help me out, or tell me what I'm doing wrong here? > > Thanks > > _______________________________________________ > Rubyamf-discussion mailing list > Rubyamf-discussion at rubyforge.org > http://rubyforge.org/mailman/listinfo/rubyamf-discussion > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070918/a7296185/attachment.html From jcastelain at gmail.com Wed Sep 19 03:08:27 2007 From: jcastelain at gmail.com (julien castelain) Date: Wed, 19 Sep 2007 09:08:27 +0200 Subject: [Rubyamf-discussion] RubyAMF & Flex SDK In-Reply-To: References: <57b444a70709180417v52499a94o898eda9166867df3@mail.gmail.com> Message-ID: <57b444a70709190008x7cf79409la684ee5ed14b4811@mail.gmail.com> Yep, I think that solved it, Thanks a lot :) Julien On 9/18/07, aaron smith wrote: > > From the compiler errors it looks like your services config file has some > errors in it. > > Try this one: > > > > > > > > > > > * > > > > > > > class="flex.messaging.endpoints.AMFEndpoint "/> > > > > > > -Aaron > > > > > > > > > On 9/18/07, julien castelain wrote: > > > Hi all, > > > > This is quite a basic question, but I didn't find the answer on the web, > > excuse me if there's already something posted about this. > > I'm using the Flex SDK and I wanted to try RubyAMF (I'm really new to > > Ruby) > > > > When I try to compile my "HelloWorld" example from the tutorials I use > > this to compile : > > > > mxmlc src/HelloWorld.mxml -o bin/helloworld.swf - > > compiler.include-libraries rpc.swc --services="services-config.xml " > > > > And I get the following error : > > > > -------------------------------------------------------------------------------------------------------------------------------- > > Error: org/apache/xpath/CachedXPathAPI > > > > java.lang.NoClassDefFoundError: org/apache/xpath/CachedXPathAPI > > at > > flex.messaging.config.ApacheXPathClientConfigurationParser.initialize > > ExpressionQuery(ApacheXPathClientConfigurationParser.java:42) > > at flex.messaging.config.AbstractConfigurationParser.parse > > (AbstractConfi > > gurationParser.java:65) > > at > > flex.messaging.config.ServicesDependencies.getClientConfiguration(Ser > > vicesDependencies.java:123) > > at flex.messaging.config.ServicesDependencies > > .(ServicesDependencie > > s.java:39) > > at > > flex2.compiler.common.CompilerConfiguration.getServicesDependencies(C > > ompilerConfiguration.java:1036) > > at flex2.tools.Compiler.calculateServicesChecksum(Compiler.java > > :618) > > at flex2.tools.Compiler.processConfiguration(Compiler.java:555) > > at flex2.tools.Compiler.mxmlc(Compiler.java:71) > > at flex2.tools.Compiler.main (Compiler.java:42) > > > > -------------------------------------------------------------------------------------------------------------------------------- > > > > Could someone help me out, or tell me what I'm doing wrong here? > > > > Thanks > > > > _______________________________________________ > > Rubyamf-discussion mailing list > > Rubyamf-discussion at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rubyamf-discussion > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070919/c3829224/attachment.html From gthoppae at gmail.com Tue Sep 25 10:22:39 2007 From: gthoppae at gmail.com (Gnanasekaran Thoppae) Date: Tue, 25 Sep 2007 16:22:39 +0200 Subject: [Rubyamf-discussion] missing template error Message-ID: Hello all, I am new to Rubyamf and stumbled upon a problem using Air with Rails+Rubyamf. I have a controller code: ----- def create project = Project.new( params[:project] ) if project.save render :amf => project.as_single! end end ----- It works fine and I get the newly created 'project' object back in Air. But just after completing the call, for some reason I get this error on the server: ActionController::MissingTemplate (Missing template script/../config/../app/views/projects/create.rhtml): /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1205:in `assert_existence_of_template_file' Any thoughts, ideas, suggestions to fix this? -gnana Lausanne, Switzerland From beingthexemplary at gmail.com Tue Sep 25 12:29:57 2007 From: beingthexemplary at gmail.com (aaron smith) Date: Tue, 25 Sep 2007 09:29:57 -0700 Subject: [Rubyamf-discussion] missing template error In-Reply-To: References: Message-ID: Hi Gnanasekaran, This is a known issue right now. Basically what it's boiling down to is either these missing template errors happen, or I suppress them but in turn break rails apps when they're in production mode. So for the now fix is to create a view for that action but just leave it blank. You won't get the errors then. I'll have an update for this in the next release. -Aaron On 9/25/07, Gnanasekaran Thoppae wrote: > > Hello all, > > I am new to Rubyamf and stumbled upon a problem using Air with > Rails+Rubyamf. > > I have a controller code: > ----- > def create > project = Project.new( params[:project] ) > if project.save > render :amf => project.as_single! > end > end > ----- > > It works fine and I get the newly created 'project' object back in Air. > > But just after completing the call, for some reason I get this error > on the server: > > ActionController::MissingTemplate (Missing template > script/../config/../app/views/projects/create.rhtml): > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3 > /lib/action_controller/base.rb:1205:in > `assert_existence_of_template_file' > > Any thoughts, ideas, suggestions to fix this? > > -gnana > Lausanne, Switzerland > _______________________________________________ > Rubyamf-discussion mailing list > Rubyamf-discussion at rubyforge.org > http://rubyforge.org/mailman/listinfo/rubyamf-discussion > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070925/62d76771/attachment-0001.html From jcastelain at gmail.com Tue Sep 25 12:43:21 2007 From: jcastelain at gmail.com (julien castelain) Date: Tue, 25 Sep 2007 18:43:21 +0200 Subject: [Rubyamf-discussion] missing template error In-Reply-To: References: Message-ID: <57b444a70709250943u733f3232y1c39ff3c3ca86a1@mail.gmail.com> Hi all, Even though I wasn't the author of the original message, thanks for the reply, it also helped me out :) julien On 9/25/07, aaron smith wrote: > Hi Gnanasekaran, > > This is a known issue right now. Basically what it's boiling down to is > either these missing template errors happen, or I suppress them but in turn > break rails apps when they're in production mode. So for the now fix is to > create a view for that action but just leave it blank. You won't get the > errors then. > > I'll have an update for this in the next release. > > -Aaron > > > > > On 9/25/07, Gnanasekaran Thoppae < gthoppae at gmail.com> wrote: > > Hello all, > > > > I am new to Rubyamf and stumbled upon a problem using Air with > > Rails+Rubyamf. > > > > I have a controller code: > > ----- > > def create > > project = Project.new( params[:project] ) > > if project.save > > render :amf => project.as_single! > > end > > end > > ----- > > > > It works fine and I get the newly created 'project' object back in Air. > > > > But just after completing the call, for some reason I get this error > > on the server: > > > > ActionController::MissingTemplate (Missing template > > script/../config/../app/views/projects/create.rhtml): > > > /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/base.rb:1205:in > > `assert_existence_of_template_file' > > > > Any thoughts, ideas, suggestions to fix this? > > > > -gnana > > Lausanne, Switzerland > > _______________________________________________ > > Rubyamf-discussion mailing list > > Rubyamf-discussion at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rubyamf-discussion > > > > > _______________________________________________ > Rubyamf-discussion mailing list > Rubyamf-discussion at rubyforge.org > http://rubyforge.org/mailman/listinfo/rubyamf-discussion > > From rubyamf-discussion at rubyforge.org Thu Sep 27 13:06:44 2007 From: rubyamf-discussion at rubyforge.org (RubyAMF) Date: Thu, 27 Sep 2007 11:06:44 -0600 Subject: [RubyAMF] General Usage Message-ID: <46FBE324.8030808@warproof.com> Hi all! Quick question on the general usage of RubyAmf: Obviously, most people are going to be using RubyAmf to produce AMF services for consumption by Flash applications. However, I was wondering if RubyAmf can also be used to consume an AMF service? It would be wonderful if I could consume a service directly from my Ruby app. If RubyAmf isn't the right choice, what might my alternatives be? Thanks so much! :) -RIch -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070927/182fabc5/attachment.html From rubyamf-discussion at rubyforge.org Thu Sep 27 16:23:33 2007 From: rubyamf-discussion at rubyforge.org (RubyAMF) Date: Thu, 27 Sep 2007 13:23:33 -0700 Subject: [RubyAMF] General Usage In-Reply-To: <46FBE324.8030808@warproof.com> References: <46FBE324.8030808@warproof.com> Message-ID: Hey Rich, No currently RubyAMF cannot "consume" an AMF service. That's a good idea for a feature addition, but a little out of scope at the moment. That will be put on the "wishlist." -Aaron On 9/27/07, RubyAMF wrote: > > Hi all! > > Quick question on the general usage of RubyAmf: > > Obviously, most people are going to be using RubyAmf to produce AMF > services for consumption by Flash applications. However, I was wondering if > RubyAmf can also be used to consume an AMF service? It would be wonderful > if I could consume a service directly from my Ruby app. > > If RubyAmf isn't the right choice, what might my alternatives be? > > Thanks so much! :) > -RIch > > _______________________________________________ > Rubyamf-discussion mailing list > Rubyamf-discussion at rubyforge.org > http://rubyforge.org/mailman/listinfo/rubyamf-discussion > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070927/467a5762/attachment.html From rubyamf-discussion at rubyforge.org Thu Sep 27 17:08:57 2007 From: rubyamf-discussion at rubyforge.org (RubyAMF) Date: Thu, 27 Sep 2007 15:08:57 -0600 Subject: [RubyAMF] General Usage In-Reply-To: References: <46FBE324.8030808@warproof.com> Message-ID: <46FC1BE9.4050407@warproof.com> Thanks for the reply. Any thoughts on what other Ruby libs I might be able to use? tia, -Rich RubyAMF wrote: > Hey Rich, > > No currently RubyAMF cannot "consume" an AMF service. That's a good > idea for a feature addition, but a little out of scope at the moment. > That will be put on the "wishlist." > > -Aaron > > > > On 9/27/07, *RubyAMF* > wrote: > > Hi all! > > Quick question on the general usage of RubyAmf: > > Obviously, most people are going to be using RubyAmf to produce > AMF services for consumption by Flash applications. However, I > was wondering if RubyAmf can also be used to consume an AMF > service? It would be wonderful if I could consume a service > directly from my Ruby app. > > If RubyAmf isn't the right choice, what might my alternatives be? > > Thanks so much! :) > -RIch > > _______________________________________________ > Rubyamf-discussion mailing list > Rubyamf-discussion at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rubyamf-discussion > > > ------------------------------------------------------------------------ > > _______________________________________________ > Rubyamf-discussion mailing list > Rubyamf-discussion at rubyforge.org > http://rubyforge.org/mailman/listinfo/rubyamf-discussion > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070927/6f44110e/attachment.html From rubyamf-discussion at rubyforge.org Thu Sep 27 20:53:04 2007 From: rubyamf-discussion at rubyforge.org (RubyAMF) Date: Thu, 27 Sep 2007 17:53:04 -0700 Subject: [RubyAMF] General Usage In-Reply-To: <46FC1BE9.4050407@warproof.com> References: <46FBE324.8030808@warproof.com> <46FC1BE9.4050407@warproof.com> Message-ID: The best option would be to read how RubyAMF works, and taking pieces of it and write something from scratch. Aaron On 9/27/07, RubyAMF wrote: > > Thanks for the reply. Any thoughts on what other Ruby libs I might be > able to use? > > tia, > -Rich > > RubyAMF wrote: > > Hey Rich, > > No currently RubyAMF cannot "consume" an AMF service. That's a good idea > for a feature addition, but a little out of scope at the moment. That will > be put on the "wishlist." > > -Aaron > > > > On 9/27/07, RubyAMF wrote: > > > > Hi all! > > > > Quick question on the general usage of RubyAmf: > > > > Obviously, most people are going to be using RubyAmf to produce AMF > > services for consumption by Flash applications. However, I was wondering if > > RubyAmf can also be used to consume an AMF service? It would be wonderful > > if I could consume a service directly from my Ruby app. > > > > If RubyAmf isn't the right choice, what might my alternatives be? > > > > Thanks so much! :) > > -RIch > > > > _______________________________________________ > > Rubyamf-discussion mailing list > > Rubyamf-discussion at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rubyamf-discussion > > > > > ------------------------------ > > _______________________________________________ > Rubyamf-discussion mailing list > Rubyamf-discussion at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rubyamf-discussion > > > _______________________________________________ > Rubyamf-discussion mailing list > Rubyamf-discussion at rubyforge.org > http://rubyforge.org/mailman/listinfo/rubyamf-discussion > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rubyamf-discussion/attachments/20070927/88a13b09/attachment.html