Create user profile pages with ActiveAdmin in rails 5 app - ruby-on-rails

Can someone give me advise on If it is possible to create user profiles with ActiveAdmin?
I'm learning rails by doing and I wan't to build an app were the users go to private profile page after log_in.
I've built basic blog apps using ActiveAdmin, but now I want more.
The Idea is to put personalised material to each user profile via ActiveAdmin.
I'll create the user_profiles and hand the sign_in info to the user.
I've bee searching the internet for tutorials on the topic but with no luck yet, It would be nice if someone could inform me.
thanks

I think you may be looking for https://github.com/activeadmin/activeadmin/wiki/How-to-add-User-Accounts-for-users-to-administer-their-personal-accounts There are various other links to sample apps and how-to articles on the wiki also.

Related

How to get notification on the dashboard?

I have articles section in my application , and I want to show a flash notification on the dashboard for all the users who in my application if they are logged in or when they log in , when a user post a new article ?
How can I do so ? and I need an explain because I asked before and I didn't get any answers.
i need something like this !
Instead of flash messages, you seem to be looking for "One-off announcements" or "Side-wide annoucements".
Two great resources, all here listed Plugingeek, might help you.
paul_revere by thoughtbot: Simple announcement plugin to include "one off" style announcements in Rails web apps.
Site-wide annoucements RailsCast (pro)

Facebook fanpage app liking/login in Rails

More than looking at a exact solution. I'm trying to figure out the whole process and how it works regarding best practices. I have an app (Car Listing) and I would like to register the user for him to be able to post car listing for sale.
The whole idea is that the user must like the fanpage in order to see/browser the content.
I'm wondering; Do I have to create the User model when the likes the fanpage or when he tries to access the car posting page (cars/new) or does the whole process happens through facebook OAUTH?
I'm a fairly experienced web developer but I'm kind of lost when it comes to registration/liking through facebook. Could someone point me in the right direction?
Thank You
For those of you looking for an elegant solution I was able to hit one in the devise wiki.
Here explains step by step on setting up OmniAuth and how the whole process works from a Rails standpoint.
https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview

How to implement notification system in RoR?

I finished Ruby on Rails tutorial where I can follow other users and others may follow me like twitter. Now I wonder how to implement notification system if someone starts to follow me, for example, as in stackexchange or facebook in which come and display a notification (eg red 1). How to go about it? Are there any examples of ready solutions you or MVC?
I'd add a before_filter to relevant controller actions that checks for new followers in the database and sets flash[:notice] to something useful like 'X new followers' and links to your followers page. There's a quick overview of how flash works in the docs: http://api.rubyonrails.org/classes/ActionDispatch/Flash.html
Have a look at those 2 railscasts:
http://railscasts.com/episodes/407-activity-feed-from-scratch
http://railscasts.com/episodes/406-public-activity.

Where can I find beta users?

I was wondering where can I find beta users for my website? Are there websites that help you find beta users?
I'd suggest just submitting the site to places like Digg and Stumbleupon. You'll get a more people viewing your site, where you can offer beta testing as an option.
That's all too dependent on what sort of crowd your site targets.
Try to find a forum related to the subject and post there, and if it's general-purpose, you could try out a general forum like Something Awful.
In addition, you could create a Twitter account for the site and have your friends retweet a beta invitation; that's a quick way to get it touch with a lot of people if your site is interesting.
You can simply invite your friends to try it and tell you what they think. Social networks may be helpful.

How do I get my Twitter feed to integrate with a blog (with individual comment threads)?

I would like to create a blog where my Twitter updates essentially create blog posts, with a comment thread. If there isn't blog software that does this right now (I did some searching but couldn't find the commenting aspect) what would be the simplest approach and starting blog software to do this?
Potentially an alternate approach to this would be a blog interface that could auto-update my Twitter feed with the title text.
Whatever the solution, I'd like it to be fully automated so that it is roughly no more work than currently updating my Twitter feed using the Twitter web interface. Note: I'm also interested in 'normal' blog posting via the default blog web admin interface.
If you would like to use Wordpress, you can use the Twitter Tools plugin.
"Pull your tweets into your blog and create new tweets on blog posts and from within WordPress."
Each tweet/blog post would automatically have comments enabled.
Good luck man,
Brian Gianforcaro
You could use something like Tumblr or Sweetcron with Disqus comments. You can auto-import your Twitter/Flickr/any RSS feed. You can also post text/audio/video from the site admin. You'll have to manually add Disqus comments, but then each post or Twitter message will have its own threaded comments.

Resources