I'm trying to make an admin panel for a website that is already running. I've never deployed an admin panel feature, so I want to ask you what the best and most common approach to creating one, and what I need to look out for when I launch it using a subdomain admin.mydomain.com. This website already has users and sessions controller, and I also would like to know how to differentiate two different authentication systems.
Thanks!
you can use Active admin gem.
see the complete documentation from this link https://activeadmin.info/0-installation.html
I want to develop some kind of user control solution in Rails, so then that control can be easily added to Ruby On Rails sites.
For example, lets say, i want to create some chat user control with its own database,views,controllers, so then that chat control can be added to Ruby On Rails sites.
Is this possible? And if yes, what should i learn for that(plugins,gems?)
Thanks in advance
You want to build an Engine.
I need to add a customer support function to an existing Rails 3 app. I want to enable the users to submit a support ticket and answer back and fourth until the issue is resolved. I am currently using Zendesk.
Does anyone have any knowledge of something I can use? Or should I just develop it myself?
Regards,
Jacob
So you essentially want to be able to create a system to manage issues? Checkout Redmine. It has the ability to manage issues. However, I'm pretty sure that the way it looks isn't the way you want yours to look.
You can lift the generic code from Redmine and apply it to your app. I doubt you'll find a gem that does all the magic for you the way you want it to look and act, so you'll need to do programming.
I haven't tried this. I saw it listed on Open Source Help Desk List where both Redmine and Big Help are mentioned. I am also looking for a help desk gem and stumbled upon your question here.
Big Help: A help desk portal built with Ruby on Rails
I'm having a hard time deciding the architecture for my new Ruby on Rails application. I don't have much advanced knowledge about Rails since I've only used it for 2 small projects before.
I need help finding the best design for an application with the following complex requirements:
1) Must be plugin based. Plugins will be enabled/disabled through the user interface. All plugin related material should disappear from the system when it's disabled (links, everything) and it shouldn't be accessible.
2) The system must be able to have a user (not group) based privileges system for every defined action. Defined actions can be very different. All from making plugins visible to users to making a single action (accessing single pages, etc.).
I should be able to use the plugin system in the Rails framework for plugins. I'm reading up on this. I'm just not sure what's the best way to control from the user interface what plugins are enabled/disabled.
All help is GREATLY appreciated.
Thanks a lot.
My current project is in Rails. Coming from a Symfony (PHP) and Django (Python) background, they both have excellent admin generators. Seems like this is missing in Rails.
For those who aren't familiar with Symfony or Django, they both allow you to specify some metadata around your models to automatically (dynamically) generate an admin interface to do the common CRUD operations. You can create an entire Intranet with only a few commands or lines of code. They have a good appearance and are extensible enough for 99% of your admin needs.
I've looked for something similar for Rails, but all of the projects either have no activity or they died long ago. Is there anything to generate an intranet/admin site for a rails app other than scaffolding?
Active Admin (http://activeadmin.info/) was released in May of 2011, and looks like it's going to become the best Rails 3 option.
rails_admin appears to be the latest-n-greatest free project as of January 2011.
...best of all, there has been a lot of activity in the repository.
Scaffolding is the normal way to create an admin backend BUT there is a project called ActiveScaffold which may solve your problem.
Here is a roundup of a few options, including more than just ActiveScaffold.
ActiveScaffold is available for Rails 2.3.x :)
Just for someonse's info who have found this question one year later like me :)
ActiveScaffold is a good solution, but if you want a more configurable and powerful tool, I think Typus is a great solution:
http://github.com/fesplugas/typus
You have mainly two:
ActiveScaffolding: the most popular but be careful with rails 2.1
Streamlined
ActiveScaffold is by far and away the most configurable/easiest to integrate/most automagic scaffolding around at the moment.
It has built in ajax support, near seamless db introspection and it even plays nicely with legacy Oracle databases (which can be a real pain in Rails).
Try it: http://activescaffold.com/
Have a look at Casein (http://www.caseincms.com/), might be what you're looking for.
Having also tried typus, caseincms and ActiveScaffold over the weekend, I can't rave enough about admin_data.
It is
super-quick to install (Rails 3 is the gem, Rails 2.3 is a plugin branch,
no digging through trees on github),
unintrusive (all code is in the vendor/admin_data folder or the gem where it belongs),
requires no set-up and optional configuration is one block in one file in your app,
correctly (!) gets all model information from your model definitions (primary_key, foreign_key, relationships etc.),
including multiple databases, SQL Server connections via activerecord-sqlserver-adapter, and even composite primary keys, as everything is abstracted on top of ActiveRecord, if you model works, admin_data will work,
works great with legacy data for the above reasons,
uses your existing authentication solution which is called in the most wonderful DRYness in your configuration file.
It maybe less flexible or pretty than other solutions, but this plugin does many thingks right for quick admin panel setup.
The most common way to create a CRUD interface is to use Scaffold.
./script/generate scaffold_resource MyModel property:type property2:type2
This command would generate a CRUD interface for the model named MyModel (singular) with two properties. Properties is what's called columns in DB lingo. So you could have name:string age:integer active:boolean etc.
I can suggest you active_admin that is best
Active Admin main site