use a state-machine for level advancing? [closed] - ruby-on-rails

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Level by level quiz game:
I would like to have the user progress be saved and return to the appropriate level & step when clicked. Does it make sense to use a state machine as the user advances levels? A multi step form? Just javascript?
I am a bit confused as to whether I should just be digging into the state_machine gem or whether I should pursue a different path. I truly appreciate any help.

Check out the Railscast on State Machines:
http://railscasts.com/episodes/392-a-tour-of-state-machines

Related

iOS Token Field [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Any way of doing the described in this question in iOS?
NSTokenField with mixed token/string input, possible?
As you probably know there are no equivalent Classes for iOS, anyway there are a couple of project around that do this pretty well, for example TITokenField. You can use the control as it is or grab just the logic behind.

Sending faxes in my rails app [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I build an app in RoR which is on heroku. And I want to send a fax every time an order is taking place. What will be the best option for me?
Thanks
You could use InterFAX or eFaxCorporate. I don't think any of these APIs come pre-integrated with Heroku though. The use of InterFAX from a Ruby environment is documented on this book.

The techniques to prevent spam posts in Rails3 [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Is there any technique to prevent spam post before active record saves its record.
I was just thinking of putting before_filter, in which it judges if the registered keyword is included in parameters past,and it forces to redirect.
Is it normal way? or it slows down the system teribbly as the spam keywords get more?
I'd use a service like Akismet through one of these gems:
https://www.ruby-toolbox.com/categories/spam_detection

Forms in Ruby on Rails and MySQL [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I would like to know how to make a simple form that saves the results to a database. Also how to make a spreadsheet from a database? Thanks!
There are a lot of answer to your question. A couple of good places to start for the forms aspect would be the Ruby on Rails Guides and Rails for Zombies.
As for the spreadsheet... well... that is a whole lot more. Once you have gone through the first two resources and done a few practice apps you should check out the Spreadsheet Library at Rubyforge

How to create a price compare app? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
What is the best solution to scrape many prices from many different websites?
Is it possible to scrape prices realtime? If yes how?
I don't know if it is still being maintained, but I've found scRUBYt to be very useful when it comes to scraping. http://scrubyt.rubyforge.org

Resources