good backadmin gem for a cms - ruby-on-rails

What Im looking is a good background gem for a cms made in Ruby on Rails.
The workflow I had in mind is this.
All articles are divided into categories. So when the user has no made any categories the user cannot enter any articles.
So I need a section for making, updating, deleting categories.
Then I need a way a user chooses a category and then the user can enter a article which will be a part of that category.
Does anyone know a gem which can provide this.
I have tried activeadmin but it looks it cannot do the job,
Roelof

https://www.ruby-toolbox.com/categories/rails_admin_interfaces would be a great place to start looking.
ps. ActiveAdmin probably can do the job, but without seeing the code you've got, we can't help you fix it.

It sounds like you want a blogging app
This one http://fdv.github.com/typo/ seems good. They have a demo, so you can test run it.
refinery Is more like a cms, but there is a demo, so it take 10 secounds to see if it is what you want

Related

Simple facebook user feed on rails site

I've searched through a lot of posts and haven't found exactly what I was looking for. Just curious if there was a relatively simple way to post the status updates of one business page to a rails site.
I don't need it to do anything fancy, just list the last several statuses from a single profile.
Is there a gem for that?
Thanks.

simple forms website on RoR- let the user go to a customized link which he can share that shows what he just inputted

I'm a pretty big RoR novice but I've had a lot of problems with finding out even where to begin.
I'm looking for any tutorials or examples of apps that lets a user fill out a simple form in ruby, takes that information, redirects to another page, and posts the information. The user would be able to share that unique link with others, which shows that information.
I've taken a look at various gems such as Formtastic and Simpleforms but the tutorials on Railscast are outdated and it's difficult to get working. I believe it's because I'm on Rails 3.
I'm pretty lost here and if anything can just prod me in the general direction of where to start / give me general strategy of how I should tackle this, it'd be greatly appreciated. This seems incredibly easy but I'm making it harder for myself than what it is.
I'm actually looking to take an intensive RoR course in a few weeks but I need to get this simple MVP app done (it'll include video by nimbb API) for a deadline... so while I should definitely be putting in the effort to learn rather than cheat and drift, your help this time around would really be great :)
To a large extent this functionally is baked into rails. The simplest way to do this is without any extra gems (besides the default ones):
In your terminal run:
rails g scaffold form name:string message:text
Then the user can go to example.com/forms/new and enter their info. Once they submit the form rails auto redirects them to the view page for that new data. The URL of that page which will be something like /forms/n where n is some integer is the link to share.
If your struggling with rails concepts I would look at the rails guides, especially: http://guides.rubyonrails.org/getting_started.html

How can I implement wiki to existing app?

I have an app which is working already.
I'd like to implement wiki system so that community owner can open its wiki, and edit.
I want it something like this.
http://example.com/community/:community_name/wiki
Is there any good gem to make it possible?
I want the one in which only the registered user can edit.
I have used https://github.com/github/gollum before and works well.
A google search for "rails wiki gem" returned this question as top result, you can find a list of gems here https://www.ruby-toolbox.com/categories/wiki_apps
The functionality you describe could be pretty easily built in, just a question os setting up routes and some kind of authorisation/authentication (if you don't have it in your app already).

Rails: Trying to separate a model into an engine gem

I'm new to here an to Rails so excuse any dumbness on my part.
I'm trying to do something really simple and can't seen to find a guide that's up to date and properly demonstrates how to do this.
I've written the app described in the official ruby on rails tutorial:
http://edgeguides.rubyonrails.org/getting_started.html
Now I want to take one of the models, say Tags and make a gem out of that. How would I achieve this? I've read some on rails Engines but couldn't really figure out what goes where and mostly what the generators would look like.
I want to be able to write another app now, such as something flickr styled and by adding the new Tags gem to the Gemfile and having a
:has_many tags
In the picture model I've added a tags mechanism to all my pictures.
Any help would be greatly appreciated!
Welcome! Glad you liked the getting started guide, I then shall guide you to the (yet unreleased) engines guide.

Setting up search page and filter (similar to ecommerce)

I'm building my first rails app and I'm trying to build the search page on an ecommerce type site. The idea is the model pulls all the data from the database according to the filter that is checked or selected on the view such as (category, sub-category, price, date, etc.)
I've watched railscasts on elasticsearch, solar, etc. They seem like they'd each work in this scenario but are they overkill? I'm just not sure what is the quickest and most scalable way to set up this search. I've read a little about the has_scope gem which seems like it would be one way but I can't find a good tutorial or documentation on has_scope. Can someone point me in the right direction for creating this search page? Should I build it out with has_scope, solar, or elasticsearch?
Thanks
In my own experience solr is the best search technology I've come across. It provides a feature called faceting which is what you are describing. You can read about it on their wiki here: http://wiki.apache.org/solr/SolrFacetingOverview
The best solr gem I've come across is sunspot. It has a very easy to use DSL for interfacing with solr from a Rails app and hooks in to active record very easily. Take a look at their github project page. I think that will answer your question.

Resources