{"id":18728656,"url":"https://github.com/rubyonworld/rubyamf_plugin","last_synced_at":"2026-05-01T19:31:30.892Z","repository":{"id":174008104,"uuid":"542160943","full_name":"RubyOnWorld/rubyamf_plugin","owner":"RubyOnWorld","description":"RubyAMF is an open source flash remoting gateway for Ruby on Rails.","archived":false,"fork":false,"pushed_at":"2022-09-28T01:07:54.000Z","size":517,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T20:32:19.488Z","etag":null,"topics":["amf","flash","rails","remote","ruby","source"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RubyOnWorld.png","metadata":{"files":{"readme":"README.rdoc","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-09-27T15:35:27.000Z","updated_at":"2022-09-28T04:01:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"47006ad3-3a63-4706-8039-bac66ceed746","html_url":"https://github.com/RubyOnWorld/rubyamf_plugin","commit_stats":null,"previous_names":["rubyonworld/rubyamf_plugin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RubyOnWorld/rubyamf_plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Frubyamf_plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Frubyamf_plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Frubyamf_plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Frubyamf_plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RubyOnWorld","download_url":"https://codeload.github.com/RubyOnWorld/rubyamf_plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RubyOnWorld%2Frubyamf_plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32510597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amf","flash","rails","remote","ruby","source"],"created_at":"2024-11-07T14:22:42.295Z","updated_at":"2026-05-01T19:31:30.883Z","avatar_url":"https://github.com/RubyOnWorld.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= RubyAMF: Flash and Flex Remoting for Ruby on Rails\n\nRubyAMF is an open source flash remoting gateway for Ruby on Rails.\n\n== Installation\n\n\t$ ruby script/plugin install git://github.com/victorcoder/rubyamf_plugin.git\n\nRails 3:\n\n\t$ rails plugin install git://github.com/victorcoder/rubyamf_plugin.git\n\nConfirm correct installation and routing by browsing to:\n\n\thttp://localhost:[port]/rubyamf/gateway\n\nYou will see the rubyamf logo on a black background.\n\t\n== Configuration\n\nPlease read the documentation in rubyamf_config.rb. That file gets installed to config/rubyamf_config.rb when you use the rails installer.\n\n== Parameter mappings\n\nHere's how parameter mappings behave by default:\n\n- Every remoting parameter is available in the order it came - in the \"params\" hash. So if you sent over 2 parameters in your remoting call. You could access them like: params[0], and params[1].\n\n- You can toggle this behavior, RubyAMF has a property called \"rubyamf_params\". This is useful if you don't want every parameter coming into the \"params\" hash. Set \"ParameterMappings.always_add_to_params\" to false. Once set to false - parameters by index will only be put into \"rubyamf_params\" and not \"params\"\n\nHere's what happens when you go beyond that and setup some custom ParameterMappings:\n\n- When you setup ParameterMappings. They get put into the \"params\" hash, as well as the \"rubyamf_params\" hash for consistency.\n\nHow do I get data deeper in the object than just referencing the index it came in?\n\nBecause RubyAMF turns dynamic objects into hashes, you can use hash accessor like logic to get deeper into a parameter. Here's a quick EX:\n\n\tParameterMappings.register({:controller =\u003e :MyController, :action =\u003e :myaction, :params =\u003e {:myproperty =\u003e \"[0]['firstname']\" }})\n\n== Supported types\n\nRubyAMF Supports AMF0, AMF3, and RemoteObject\n\n== AMF Type conversions\n\nFlash 2 RubyAMF:\n\nundefined -\u003e nil\nnull -\u003e nil\nfalse -\u003e false\ntrue -\u003e true\nNumber -\u003e Fixnum\nint -\u003e Integer\nString -\u003e String\nXML -\u003e String (cast in your service)\nArray -\u003e Array\nMixexArray? -\u003e Hash\nObject -\u003e Hash\nCustom Class -\u003e Ruby Class\nRubyAMF 2 Flash:\n\nnil -\u003e null\nfalse -\u003e false\ntrue -\u003e true\nNumeric -\u003e Number\nString -\u003e String\nBeautifulSoup? -\u003e XML\nREXML::Doc -\u003e xml\nArray -\u003e Array\nHash -\u003e Object\nRuby Class -\u003e Custom Class\n\n== Generators\n\nRubyAMF Code Generators and Helper Scripts\n\n=== Introduction\n\nRubyAMF currently has two generators\n\nRubyAMF only scaffold generator\nConsole printing ClassMapping? helper generator\n\nNote: Currently the generators have not been upgraded to Rails 3 generators.\n\n=== Details\n\n\t$ script/generate rubyamf_scaffold \u003cmodel\u003e \u003cattributes\u003e\n\nwill produce a model, fixtures, tests, and a RubyAMF specific controller with actions that work only with incoming :amf formats.\n\n\t$ script/generate rubyamf_mappings\n\nwill print class mapping entries for each model in app/models and below to the command line. This is designed to help easily add new class mappings to the rubyamf_config.rb configuration file.\n\n\n\n== Credits\n\n(c) aaron smith\nhttp://www.rubyamf.org","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyonworld%2Frubyamf_plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyonworld%2Frubyamf_plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyonworld%2Frubyamf_plugin/lists"}