Are there any LMS (hosting SCORM) Rails gems or apps written in Ruby on Rails?
I would be using Articulate to create the SCORM.
Thanks!
There's Canvas LMS. It appears to be under very active development, with the most recent update to master happening yesterday:
https://github.com/instructure/canvas-lms/wiki
http://guides.instructure.com/m/4214/l/41907
I don't have any personal experience with it so I can't comment on its quality.
You can use SCORMCloud to serve the SCORM content from Rails.
There's a github repo that implements some of the API:
https://github.com/aeseducation/scorm-cloud
Just be careful of running rake test there..... it tries to delete all of your courses (not good if its pointed at a prod environment).
My company builds integs for SCORMCloud, our Bright service uses a rails back end a fork of the AES lib (we are planning on recommitting this back onto github soon).
Another option worth exploring will be Fedena. More information about it can be found at http://www.projectfedena.org/ or https://github.com/projectfedena/fedena. I am not sure how it stacks up agains Canvas LMS. But I would love to know about it if someone over here can share.
tags - ror scorm lms
I have a Rails project using rails 3.0.7.
I want to update it to 3.1.0.rc6.
However the directory structure of these are really different,
is there an automatic way to transfer the directory structure? Thank you very much.
I'm not aware of an automated way to update Rails apps to 3.1, but I found David Rice's blog entry about to be a pretty good overview of the steps involved. You can find the overview at: http://davidjrice.co.uk/2011/05/25/how-to-upgrade-a-rails-application-to-version-3-1-0.html
I created a github project to track the difference of the default generated project layout of rails
https://github.com/pmq20/rails-diff-track
As a Ruby/Rails non-pro, I often want to check out the code for a rails method to see how it's implemented...
For example, I was using "form_for", and I wanted to check out the code to see how it works. The slightly lame way I did this was to just google "rails form_for" which takes me to http://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html, where I can view the source for form_for.
How do rails/ruby pro's accomplish a similar task? Is there a simple way (without using IDEs) that you can quickly dig this out? Or is it a case of over time learning where stuff is located and find/grep-ing it?
Cheers
I clone the rails repository
git clone git://github.com/rails/rails.git
after I grep on it
git grep 'form_for'
After my Vim editor help my with Ctags to navigate on source code.
If you want some example of code using you can see test unit.
I prefer http://railsapi.com/ both local and remote. Quick search, nice design and magic Show on Github link
I want to get into rails by examining well built code
where can i find typical open source rails project that i can download
and learn from ?
i'm interested in facebook connect integration (facebooker), tag clouds, searching in
my website
I'm not looking not tutorials or screen casts
Thanks!
This question gives a good list
a list of projects with good test-suites
a list of open source rails apps to learn from
Have a browse of ruby tool box and download some open source. For example there's refinery and zena, two content management systems and Rboard, a forum. Depends what you want really but there's plenty out there. Ruby toolbox entries are ordered by github watchers and forks to give you an idea of their popularity.
I really like looking at the commits in teambox.
I find it a bit more complicated. But there's also spree.
There's also devise which is really interesting to look at too.
Finally, I'd recommend you to follow the rails commits (it's the only commits feed I have in my Google Reader).
Gady, this is an extremely rich topic you're asking about and resources are all over the internet. Try starting at http://rubyonrails.org/.
You should be able to find tens of questions just like yours (asked and answered) by searching SO at the top bar.
For Rails, part of it is the building process, so one feasible approach is to read a tutorial like http://railstutorial.org/book
then when in Chapter 2, you will use Scaffold, and at that time, you will have some basic code to look into how a basic Rails app is.
I also suggest you use source control like Git, Mercurial, or SVN to commit different phases of the project, from creating the rails project and then after each step, so you can diff what the changes are during each step.
If you already have Ruby 1.9.2, Rails 3.0.1, and sqlite3, then you can
rails new myproj
cd myproj
rails generate scaffold foo name:string salary:integer gpa:float note:text
rake db:migrate
rails server
and now you can use http://localhost:3000/foos to create, display, update, delete the foo records, and have quite a bit of source code to look at. Most of the customizable code is in app, with css and javascript in the public folder.
Ryan Bates has an excellent series of videos.
http://railscasts.com/
An extremely valuable resource.
Radiant is a CMS that you can download for free and see how it works. It is a great piece of code to look at and see how it works.
I guess that most open source Rails projects are shared on Github, so it may be interesting to browse its Ruby section and look for most watched or most forked projects:
http://github.com/languages/Ruby
Steady stream of new interesting projects to take a look at :)
And don't forget the official:
guides.rubyonrails.org
well there is one "bigger" project on github, waiting for downloading and contribution...
but it's a little controversial because of the security issued they have (had?)
It's still worth a look:
http://github.com/diaspora/diaspora
Is the wiki software that runs http://wiki.rubyonrails.org/ available for download? I can't find it anywhere, thank you :)
I've been investigating rails wikis, tried Instiki but still needs much work, other rails wiki suggestions welcome.
From the meta generator tag in the source of any page on http://wiki.rubyonrails.org/ it appears to be DokuWiki