Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7417047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:37:19+00:00 2026-05-29T07:37:19+00:00

What is the best way to have a regular ruby on rails app be

  • 0

What is the best way to have a regular ruby on rails app be delivered true an IOS iphone app?

The Idea is to build, for fun and education schoolproject, an simple Iphone app that connects to the ruby on rails app for its data. Seen some articles outdated, would like to ask some advise on this server – client model for ruby and an ios app.

  • How to move data from ruby app to IOS app xml ?
  • How to interact from IOS app back with the Ruby on Rails Application?
  • Are there opensource example apps or recent updated resources you would recommend on this topic ( gems, opensource projects, tutorials, documentations )

Also what would be good websites to checkout when doing ruby on rails and Iphone apps?
Would love to hear some feedback, I already investigated and have rough idea on above concepts but as said on older resources. Some first hand experience from you experts would be higly appreciated thx!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T07:37:20+00:00Added an answer on May 29, 2026 at 7:37 am

    The general setup for a Rails backend like this could be:

    Authentication: use a basic authentication sceme to authenticate to the rails backend. I would use Devise and CanCan for this, they are easy to set up and work great. If you do not want people to log in but want authentication nonetheless, you could use a token.

    Push Notifications : use the APN Gem

    GET data: use the GET controllers of your Rails backend, you can either specifically ask for json or just return json as default /articles/:id.json

    def show
      begin
        @article = Article.find(params[:id])
      rescue Exception => e
        render :text => "unknown article id", :status => 404
      else
        render json: @article
      end
    end
    

    If you would want a custom JSON returned. You can override it in the model:

    #overide default json output
    def as_json(options)
      # this ignores the user's options
      super(:only => [:id , :type, :title, :content])
    end
    

    CREATE data: use the Create controller of you Rails backend, you can just submit like you would a form, so a POST with fields like article[:title]=value. If you like you could return a plain text or json if the create was succesfull.

    UPDATE data: use the Update controller of your rails backend. You use a PUT here instead of a POST.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What is the best way people have found to do String to Lower case
What is the best way to have synchronized a collection of objects between various
What is the best way to have my C# Compact Framework program running in
What is the best way to have an associative array with arbitrary value types
What is the best way to have a virtual operating system have a static
What's the best way to have the following? Name: [Textbox] Inside a div? I
What's the best way to have separate CSS for IE and other browsers? I'm
What's the best way to have two websites (asp.net based) running on different domains
What would be the best way to have a list of items with a
I'm trying to learn pygame, And I found the best way to have the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.