Alternative to Dynamic Sitemaps in Rails 4.2.3 - ruby-on-rails

I have been using dynamic_sitemaps for my Rails application for sometime, but it doesn't seem to be supported anymore. It stopped working after I upgraded from Rails 4.1.6 to 4.2.3. Has anyone faced this issue before?

Okay, I've moved over to the sitemap_generator gem, which also, by the way, is framework agnostic.
Just in case someone else stumbles upon this question.

Related

Rails 2.3.11 Administrator Gem

This is my first question here in StackOverflow :)
I've been searching for the best plugin for administrator for my Rails 2.3.11 app.
I can create my own but I have to rush my project so I decided to use these kinds of plugin.
I already searched rails_admin and active_admin. There are both good but I think that's for Rails 3 only. So I need to find some admin plugins for Rails 2.3.11.
Your ideas are much welcome :) Thanks!
Give Typus a try. It works on rails 2.3 and is quite popular, although the author isn't planning on maintaining the 2.3 version anymore.
https://github.com/typus/typus/wiki/requirements

How to update rails 3.0.3 to 3.1?

How do I update to Rails 3.1 ?
I am using windows xp with ruby console.
And is there a smart way to update a rails app from 3.0.3 to 3.1 or do I need to rewrite it all?
This question has a lot of useful information which might help you out: Upgrading from Rails 3 to Rails 3.1
It doesn't answer specifically for Windows, but there's a lot of advice and insight that you'll find useful for the upgrade.
The only advice I can offer on top of reading the answers in the above question is to have a bit of patience and not expect it to work straight away. There's a lot of changes in the way 3.1 works so expect to spend some time fixing it up.
Good luck!
I created one vanilla 3.0 site, added it to Git, then created a vanilla 3.1 site and copied it over the 3.0 site, deleting existing files first. A diff then showed me exactly what changed.
I would strongly recommend this and the following two railscasts in the series

Rails 3.0.6 & 3.0.7 broke my destroy action...how do I fix it?

This is directly related to this question
I finally figured out that Rails 3.0.6 & 3.0.7 break my code. Given the code in that question, how do I fix it ?
Should I paste all that code over here?
Edit1: Issue resolved on linked question.
Update to the latest jquery ujs driver which includes the CSRF token in each request to prevent your session from being reset since the changes in 3.0.4.

Rails, Passenger and Authlogic

Has anyone figured out how to use authlogic with passenger? On the Github Binary Logic page there is a note that says it does not work, the problem is that when you log out, it does not really log you out -- you continue to be logged in -- I have researched this -- and it seems to happen to most people.
But I would have thought by now someone would have figured out how to fix this issue.
Any helpers out there?
This especially an issue on Webfaction as that Passenger is your only option for serving your files.
Most guides tell you it is the fault ofthe "active record store" but i can not seem to find a tutorial that shows you how to fix this.
my set up is rails 2.3.10 and passenger 2.2.15
Any help would be great.
thx
The authlogic readme states that it's an issue with Passenger and 2.1.x, but this is not the version you are using. What is the problem?
We use Authlogic in production with Phusion Passenger. The problem you mentioned turned out to be a cookie bug in Rails. The most recent Rails 2.3 and 3.0 releases fix this problem.

Are there any stable solutions for using Rails 3.0 and Facebook together?

I've seen reports that Facebooker doesn't work with Rails 3. I've noticed that there's a Facebooker2 project, but it doesn't seem to have any documentation and there's no information I can find about its Rails 3 compatibility. Are there any good choices for getting Facebook Connect working with a website built on Rails 3.0.0 (beta4)?
You can see there are some fork about rails 3 in Facebooker. But nothing official.
Rails 3.0.0.beta and Facebooker: anyone else seeing the following?

Resources