问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/34297279/difference-between-fullcalendar-engine-rails-fullcalendar-rails-gem