Posts by archibald • 33 points
3 posts
-
0
votes1
answer266
viewsQ: Help With Relationship Between 3 #Rails Tables
I would like your help in this problem below I have 3 tables: Product Purshase Supplier supplier_id product_id name class Purshase < ActiveRecord::Base belongs_to :product end class Product <…
-
1
votes2
answers40
viewsQ: Help with #Rails relationships
I have 3 tables area name area_shared area_id request_id request area_shared_id area_id I would like to display my table this way <%[email protected]_shared.area_name%> but I think my…
ruby-on-railsasked archibald 33 -
2
votes2
answers122
viewsQ: Use token to access a platform
I have a web application and am accessing through an APP this way: .controller('LoginCtrl', function($scope, $ionicPopup, $state, $http) { $scope.data = {}; $scope.login = function() {…