difference between fullcalendar-engine-rails fullcalendar-rails gem [closed] - ruby-on-rails

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Does sby know what's the main difference between the fullcalendar-rails and the fullcalendar-engine-rails gem? I don't know which one I should pick.

Looks like the engine version depends upon the non-engine one... Just looking at the readmes:
https://github.com/bokmann/fullcalendar-rails
this is a rails implementation of the jquery plugin.
It lets you add the js into your asset pipeline by adding the gem to your gemfile instead of copy/pasting js into your app
https://github.com/vinsol/fullcalendar-rails-engine
This seems to be an engine implementation of the above - it appears to give you some nicer convenience methods on top of just bringing in the js.
Note: this is from a quick google and 30 seconds of skimming the readmes... I suggest you read them yourself to get more info.
As to "which one to choose"... can't help you if you don't tell us what you need it for. (also that's probably a bit beyond the scope of an S/O question.

Related

Is Rails controller documentation a best practice? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
Reek gem identifies a smell in my code such that it lacks documentation in classes. But I was wondering if that should be applied to controllers as well.
In a good codebase, a controller would be very thin, just dealing with the requests and delegating all the logic to models/services/helpers. Hence not much to document to begin with. Not being an API and especially not an open one, I don't see a good reason to add documentation to it.
Would like to hear your opinion on this.
In my opinion, there is no need for documentation in controllers. But if you want reek to not identify this smell then you can add a one-liner explanation of the controller or add
#:nodoc: all
at the top in your controllers (this is what I do). This is suggested by rubycop gem
Hope this helps.

Ruby on Rails: Data gather from blogsites [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
This is a very broad question, so please bear with me.
I wanted to create an app that gets data from another website, specifically medium.com. However, I don't think medium has an API.
Specifically, what I wanted to achieve is to search the medium.com of articles that has 500 or more likes, or perhaps one that has 50 or more responses (comments). I wanted to do it with ruby on
How do you think I can do that? Please if you know how, point me in the right direction. Thank you in advance :)
I would recommend webscraping using the ruby gem called nokogiri.
It is a generic way of obtaining data that can be used for almost any website.
Take a look at these links to get started :-)
Web Scraping with Ruby and Nokogiri for Beginners
And a personal favourite
Parsing HTML with Nokogiri
Currently, there is no API to get all POSTS, neither search them, see https://github.com/Medium/medium-api-docs/issues/48

Send bitcoin to entered wallet address [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm trying to look through different APIs for bitcoin transactions, but havn't been able to find a clear path for what I'm trying to achieve. I was hoping some one could explain to me an easy way to send bitcoins based on the entered amount from the user on a form. I'm going to be using ruby on rails to create the site.
With ruby on rails its very simple. Coinbase has its own gem: gem 'coinbase' which you can add to your gem file. Then simply look in the docs (https://coinbase.com/api/doc) and the source code (https://github.com/coinbase/coinbase-ruby) of the gem to find what you need to do. Hope this helps!

how to run the rails example code present in github? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am trying to run the code present in https://github.com/binarylogic/authlogic_example.git but could not able to do. I have tried a few examples before and it went so good. I could not do the same with this. There is no gemfile and probably few things are missing. Somebody tell me how to execute this particular example.
The last commit is 3 years old on that repo so I doubt it is compatible with bundle and Rails 3. I would advise you to try devise for authentication instead os authlogic as with Rails3 that is the defacto auth gem.
Example applications: https://github.com/plataformatec/devise/wiki/Example-Applications

Building a Code Generator in ruby.. Where to start? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I've been thinking about starting an open source admin panel for rails using the cappuccino JavaScript / Objective-J web framework..
How would I get started?
Are there any resources you can point me to, that explain dynamic scaffolding like code generation?
Thanks and looking forward to collaborating if anyones interested?
Daniel
You may want to take a look # rails_admin. It is a port of Merb Admin. It's still pretty young, but may give you ideas on the approach.
ActiveScaffold has been around for a while too which may be another good reference project.

Resources