Friends I have 2 models. Orders have several details. I use cocoon to create the forms. The order model has a total that is the sum of the totals of the child models. What I would like to know is how best to implement a sum in the child and then...
I'm developing a mobile application using jqMobile and Ruby. How to update a database table by clicking on an item in a list.
My list is generated like this:
<ul data-role="listview" data-filter="true" data-filter-theme="a" data-divider-...
Anyone with any experience with Rails integration with Webmotors APi?
I'm using Gem SAVON to integrate the application with the site API and I'm getting the error:
Savon :: SOAPFault: (soap: Server) Server was unable to process request....
I have gem 'bower-rails' installed in my application but when deploy I have the following error:
I added the gem rails_12factor
I'm using buildpack :
heroku buildpacks:set https://github.com/heroku/heroku-buildpack-ruby...
I have the following method an ROR application.
query_student = "SELECT name, registration, room FROM students WHERE registration = "+
params[:registration]+" AND password = "+params[:password]
@student = ActiveRecord::Base.connection.exe...
I need to access an id that has inside an external page that I'm rendering in an iframe on my site.
Permission error is occurring. How do I resolve this?
This is the link on the page:
link
Fiddle:
link
Observe my X-Frame-Options....
What's the difference between these two possibilities?
//com @
@post = Post.find(params[:id])
//sem @
post = Post.find(params[:id])
Usually in controllers it is used with @ , but in functions each of views is usually used with...
I'm about to start developing an e-commerce, but I'm caught up in the issue of modeling, especially in product categories and subcategories. For example. A category can have several sub-categories. Each sub-category may also have sub-sub-categor...