i am not new to programming but new to rails and webdevelopment.
I tried JSON already like
@variable = Class.all in the controller and @variable.to_json in the view
Obviously the result was not very pleasing. Is there any other way to acomplish that?