I'm looking for:
documentation
blogs
books
ready-to-use pre-configured slice images
services
wrappers
libraries
tutorials
...anything that would make it easier to start using EC2 to host a Rails application.
...
Q.: What web app architecture works well receiving/sending SMS text messages? By "architecture, I mean specific architecture, not generally, such as MVC.
Background: I'm building a web app that receives queries from/sends answers to cell phones. The app design (and business model) expects to communicate with cell devices via SMS text me...
I'm looking at ways to deploy a Ruby on Rails app (running on JRuby) to a Tomcat instance for testing.
The tomcat instance is running on a Solaris server that I can SSH to. I've looked at using Capistrano, but there doesn't seem to be a lot out there about using it to deploy to Tomcat, or even about running it under JRuby, and I keep hi...
The rails scirpt script/performance/request require a session script, what is the best way to generate this session script?
...
Hi
Hopefully this will not spark a religious war...
We have a web based app in RoR based on an earlier version we build in .net 2.0. So we currently have both .net and RoR skills in house.
We want to add a RIA app that interfaces with the rails web app. This should be capable of running offine, with some (perhaps relational) persiste...
I'm trying to get started writing some Ruby on Rails apps and have been successful with Mongrel but, I'd like to deploy my apps to my Apache 2.2 instance on Windows? All the tutorials I've found seem out of date and are for older versions of Apache/Rails.
Does anyone know of a good, current tutorial for configuring Apache 2.2 for Ruby ...
I'm looking to pick up a few books on RoR to help teach myself how to build a scalable RoR app.
I have read the RailsSpace book, and am starting the Rails Way book tonight.
Some topics of interest are:
REST - considering using Amazon's SimpleDB
Using RSpec effectively
memcached - server architecture and code implementation
mongrel -...
I was going through the AWDR book on web development with ruby on rails and one of the issues with the old code was it didn't use respond_to to make sure the view used would be the javascript view. Now in some updated examples I've seen people mention they later, when implementing graceful degradation, use request.xhr? to tell if the use...
I created a Rails application normally. Then created the scaffold for an event class. Then tried the following code. When run it complains about a InvalidAuthenticityToken when the destroy method is executed. How do I authenticate to avoid this response?
require 'rubygems'
require 'activeresource'
class Event < ActiveResource::Base
s...
I believe that we can allow Firefox to sent NTLM data to SharePoint sites to do automatic authentication, and I think that this is doable with IIS.
I'd like to do the same thing with an internal Rails site.
Does anyone know of way that I could authenticate NTLM type user information through a Apache/mongrel setup (provided of course th...
Is there a viable open source Ruby on Rails content management system out there?
I need a CMS with the ability to manage structured content, content relationships, classification (structured taxonomy and free tagging) and simple publishing workflow. I'd prefer the content ultimately be persisted as XML. Also content needs to be abst...
In the database I have a field named 'body' that has an XML in it. The
method I created in the model looks like this:
def self.get_personal_data_module(person_id)
person_module = find_by_person_id(person_id)
item_module = Hpricot(person_module.body)
personal_info = Array.new
personal_info = {:studies => (item_module...
When I load script/console, some times I want play with the output of a controller or a view helper method.
Are there ways to:
simulate a request?
call methods from a controller instance on said request?
test helper methods, either via said controller instance or another way?
...
I have a Ruby/Rails app that has two or three main "sections". When a user visits that section, I wish to display some sub-navigation. All three sections use the same layout, so I can't "hard code" the navigation into the layout.
I can think of a few different methods to do this. I guess in order to help people vote I'll put them as ans...
Having this route:
map.foo 'foo/*path', :controller => 'foo', :action => 'index'
I have the following results for the link_to call
link_to "Foo", :controller => 'foo', :path => 'bar/baz'
# <a href="/foo/bar%2Fbaz">Foo</a>
Calling url_for or foo_url directly, even with :escape => false, give me the same url:
foo_url(:path => 'bar/b...
I'm looking to try out JRuby and JRuby on Rails. I'm having trouble finding information on what's difference between JRuby on Rails and Ruby on Rails.
What's the differences I need to look out for?
...
I am completely new to ruby and I inherited a ruby system for a product catalogue. Most of my users are able to view everything as they should but overseas users (specifically Mexico) cannot contact the server once logged in. They are an active user. I'm sorry I cannot be more specific, and the system is private so I cannot grant access....
What is the simplest way to identify and separate GET and POST parameters from a controller in Ruby on Rails, which will be equivalent to $_GET and $_POST variables in PHP?
...
I am working on the admin section of a new rails app and i'm trying to setup some routes to do things "properly". I have the following controller:
class Admin::BlogsController < ApplicationController
def index
@blogs = Blog.find(:all)
end
def show
@blog = Blog.find(params[:id])
end
...
end
in routes.rb:
map.namesp...
I notice that Rails 2.2 (currently edge) supports setting HttpOnly on the session cookie.
Is there a way of setting it on a Rails 2.1 application without moving to edge/2.2?
...