Is the gem 'thredded' compatible with rails 5 api? - ruby-on-rails

I am currently developing a social media-ish app, and it needs a forum. I wanted to use a gem for the forum side of the app. We are using Rails as a backend API serving json responses to the frontend using Angular.
With that, I've seen the thredded readme, and it seems that it has a view side to it which Rails 5 api clearly lacks. With that, will it still smoothly work with Rails 5 api? Just checking out if someone has tried this out already. Thanks a bunch.

if you go there home page on github https://github.com/thredded/thredded you will see a message that reads
#glebm glebm Bump Rails to 5.0.1 in spec/gemfiles/rails_5_0.gemfile
enter image description here
that message will change on the next commit
now if what you are asking if they are using action cable. I did not find anything to say that they were.
but they are rails 5 compatible
I hope that this helps

Related

Rails app to engine

How we can convert a existing rails app(3.2.11) into a engine. We have some defined functionality in our rails app and we want to use this rails app functionality as engine so that we can add/share/mount this functionality with other rails app.
Do we have any available gem or any idea for this.
Thanks in advance!!
We have recently started doing this at my company and we will never look back. Engine gems are great for using the same logic across multiple projects.
That said, start with this railscast: Mountable Engines (I think this is the right link, it is blocked here at work so I can't verify for sure. If it's not then just google "railscasts engines.")
Also, check out the documentation here.
This is where we started and we released our engine in no time.

Ruby on rails making an app for smartphone

I want to build an app that use in the backend Ruby on Rails. However my problem comes in the lack of information i found on it. My goals is not just to create a website but an application that interacts with it, like my android facebook app when pressing menu I get button like logout and so on.
I am wondering if their exists tutorial on how to build an application but using rails or should i scrap my entire website and do it in php. I am looking for guide and tutorial. Thanks in advance
You can build an app on any platform and make it interact with your Rails-based server using HTTP requests (like AJAX).
You can send information back and forth using JSON or XML; you would probably need to make a new set of actions for the app to use.
There is no reason to use PHP. ever.
A little unclear from your original question, but if you are looking to create a mobile app using Ruby (and a structure similar to Ruby on Rails) then you may be interested in Rhomobile. It is a cross-platform mobile application framework that uses Ruby for its backend code, and follows a structure similar to (older) Ruby on Rails versions.
From what I understand of your problem, you want to use the robustness of Ruby to develop a native app (not just another app that mirrors a website).
The best thing I know of for this is RubyMotion. The bummer is the cost ($200). But then you would get to accomplish your task.

Ruby On Rails Twitter Application

I am new to Ruby On Rails. I want to create a simple application which has a home page with a search box and a submit button. The search box is used for searching keywords on twitter dynamically. The application connects to twitter, takes all the feeds containing the keyword searched and displays back on the home page of my application. Can anyone please guide me how should i go about it ? I want to create an application from scratch. Please site any example for the same. Any suggestions would be helpful.
Thanks,
Bhargav
If you really want to start from scratch and not use any gems for it, you should go to the Twitter API reference, and start from there
I would recomend you use the twitter gem
RailsCasts has a nice episode on it, but the episode for Twitter Integration is not for free.
If you are looking into use Rails for a long time, a subscription is well worth it though.
Hope this helps
I recently wrote a small Twitter app from scratch (without the Twitter gem), maybe it is helpful:
https://github.com/sos4nt/jack-of-all-tweets
There's an instance running on Heroku: https://jack-of-all-tweets.herokuapp.com
You should probably use the twitter gem: https://github.com/sferik/twitter

Twitter bot with Rails

I am trying to create a Twitter bot with Ruby on Rails but I just dont find any useful information on this manner...
Is it posible?
I tried with the GEM twibot but it is deprecated it is not longer useful.
Does Rails have a method for trigger events when (for example) a twit is posted?
Anyone have worked with something like this?
Any tutorial?
Any information at all that is in current use, I mean that does work today with the Twitter API (Many of the stuff I googled does not work now)?
Thank you very much.
Twitter itself is running on Rails, and it has a REST API. You could easily write your own solution with ActiveResource
You can get started with the ActiveResource videos on Railscasts
rails per se does not have any support for twitter. it's just an mvc-web-framework. but there are a lot of ruby gems for twitter. my favorite is this https://github.com/jnunemaker/twitter but you can find a lot more here https://www.ruby-toolbox.com/categories/api_clients.html

developing facebook applications with ruby: which gems to use?

i am currently planning a facebook application to be developed with ruby on rails.
i stumbled upon the facebooker gem, but there seem to be other gems around as well - actually there is also a facebooker2 gem.
what are the current options i have with ruby on rails and facebook development? which gems are recommendable?
The Facebook developers site lists some options for Rails along with samples. See http://wiki.developers.facebook.com/index.php/User:Using_Ruby_on_Rails_with_Facebook_Platform
I've been working with this over the past couple of days.
The facebooker gem is written to use the old FB RESTful javascript API.
Facebooker2 is written to use the new javascript Open Graph API. Facebooker2 depends upon the mogli gem.
I'm working with facebooker2 and hope to blog a tutorial once I've got it all worked out.
Here's my "tutorial". I hope this helps.
http://blog.jonathanrwallace.com/2010/06/accessing-facebook%E2%80%99s-open-graph-from-within-ruby-on-rails/

Resources