You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/a32bb406-d3fa-4f02-8091-0fd3349ae9ef%40googlegroups.com.
You'll have to assign the values you get back (in JavaScript) to a properly-named form element in your form. Try making a hidden input in the form with the name set to meal[meal_item_ids]. Then locate that field in JavaScript in your callback function (which fires after the drop event) and set the value of that hidden field to the array of values you get in your callback.
Walter
> On Jul 20, 2019, at 9:24 PM, John Sanderbeck <bandor535@gmail.com> wrote:
>
> I understand that part Walter. I have done many nested forms. However, this is the first one with a drag and drop feature.
>
> The part I am struggling with is how to populate the array that gets passed back through the drag and drop events.
>
> I have the strong params setup and could easily just add a simple nested form, but I wanted to add the drag and drop as a feature so they could build the meals easily with an IPad.
>
> John
>
> On Saturday, July 20, 2019 at 8:59:21 PM UTC-4, Walter Lee Davis wrote:
> I'm not sure how your form is constructed at the moment. But if you were passing the result of the dragged items back to a meals_controller, you could assign the array of values to `menu_item_ids` and the child menu items would be created and assigned. You'll have to ensure that you whitelist that attribute in a special way:
>
> def meal_params
> params.permit(:foo, :bar, :baz, menu_item_ids: [])
> end
>
> You'll want to put this (and any other array-shaped parameters) at the end of the list of permitted params, and you have to cast it to an array as I've done here.
>
> If you are sending the form to the menus_controller, then you've got a doubly-nested assignment going on, and you'll probably want to use accepts_nested_parameters_for in your model relationship between menu and meal. I would do that if I was building N number of meals within one menu form. If you're trying to get this going first, I would just save each meal individually first, and then, once it's working at that level, try to further complicate it by nesting forms.
>
> Walter
>
> > On Jul 20, 2019, at 12:25 PM, John Sanderbeck <band...@gmail.com> wrote:
> >
> > Ok. Changed to Document.ready and got the drag and drops firing...
> >
> > Also changed the data URl to be a data ID which is the ID of the meal item.
> >
> > The part I am unsure of is assigning the mitem array that gets passed back in the form...
> >
> > I know this should be simple and as you can tell I am a total newbie with this... :-)
> >
> > John
> >
> > On Friday, July 19, 2019 at 10:48:56 AM UTC-4, John Sanderbeck wrote:
> > I have an app in production that I am adding a module to for Lunch Ordering
> >
> > What I have is a Menu, which has Meals, and the Meals have Meal Items in Categories like Entree, Vegetable, Fruit, and Drink
> >
> > What I would like to do it allow Drag and Drop to build meals, and Drag and Drop to build Menus
> >
> > I made a standard Rails form with a Drag and Drop area for the meal with the items as draggable and sorted in groups on the right....
> >
> > I don't think I need an Ajax call as I am building or editing the meal. What I need to be able to do is manipulate the array that gets passed back for the Meal Items...
> >
> > Any suggestions or links I can look at to do this?
> >
> > John Sanderbeck
> >
> >
> >
> >
> >
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to rubyonra...@googlegroups.com.
> > To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f0ec2c68-3c7d-40db-85f4-52ff4ab3866c%40googlegroups.com.
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/faf99154-a737-4d91-a7e9-95b973e7ed69%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/A020658F-511F-4B21-BB23-AE3AA9F2C0F0%40wdstudio.com.
On Sun, Jul 21, 2019 at 5:02 AM Pavel Pyshinskiy
<pavel.pyshinskiy@gmail.com> wrote:
>
> I have a problem. I can't run dbconsole. After I enter "rails dbconsole" there is nothing happens.
Is your DB local or remote?
Can you reach your DB from a terminal window using the settings in
your database.yml?
Do you see anything in the DB query log when you attempt to open
the console?
It would also help to provide Ruby/Rails/database versions when
asking this kind of question.
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBOkw5dzXc5N2zD%3DBTxVc-donjNC56bi18e0KBuUfdi2g%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/92142325-2324-4708-9cd7-2eee65d7717f%40googlegroups.com.
On Saturday, July 20, 2019 at 8:59:21 PM UTC-4, Walter Lee Davis wrote:
I'm not sure how your form is constructed at the moment. But if you were passing the result of the dragged items back to a meals_controller, you could assign the array of values to `menu_item_ids` and the child menu items would be created and assigned. You'll have to ensure that you whitelist that attribute in a special way:
def meal_params
params.permit(:foo, :bar, :baz, menu_item_ids: [])
end
You'll want to put this (and any other array-shaped parameters) at the end of the list of permitted params, and you have to cast it to an array as I've done here.
If you are sending the form to the menus_controller, then you've got a doubly-nested assignment going on, and you'll probably want to use accepts_nested_parameters_for in your model relationship between menu and meal. I would do that if I was building N number of meals within one menu form. If you're trying to get this going first, I would just save each meal individually first, and then, once it's working at that level, try to further complicate it by nesting forms.
Walter
> On Jul 20, 2019, at 12:25 PM, John Sanderbeck <band...@gmail.com> wrote:
>
> Ok. Changed to Document.ready and got the drag and drops firing...
>
> Also changed the data URl to be a data ID which is the ID of the meal item.
>
> The part I am unsure of is assigning the mitem array that gets passed back in the form...
>
> I know this should be simple and as you can tell I am a total newbie with this... :-)
>
> John
>
> On Friday, July 19, 2019 at 10:48:56 AM UTC-4, John Sanderbeck wrote:
> I have an app in production that I am adding a module to for Lunch Ordering
>
> What I have is a Menu, which has Meals, and the Meals have Meal Items in Categories like Entree, Vegetable, Fruit, and Drink
>
> What I would like to do it allow Drag and Drop to build meals, and Drag and Drop to build Menus
>
> I made a standard Rails form with a Drag and Drop area for the meal with the items as draggable and sorted in groups on the right....
>
> I don't think I need an Ajax call as I am building or editing the meal. What I need to be able to do is manipulate the array that gets passed back for the Meal Items...
>
> Any suggestions or links I can look at to do this?
>
> John Sanderbeck
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonra...@googlegroups.com .
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .f0ec2c68-3c7d-40db-85f4- 52ff4ab3866c%40googlegroups. com
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/faf99154-a737-4d91-a7e9-95b973e7ed69%40googlegroups.com.
I'm not sure how your form is constructed at the moment. But if you were passing the result of the dragged items back to a meals_controller, you could assign the array of values to `menu_item_ids` and the child menu items would be created and assigned. You'll have to ensure that you whitelist that attribute in a special way:
def meal_params
params.permit(:foo, :bar, :baz, menu_item_ids: [])
end
You'll want to put this (and any other array-shaped parameters) at the end of the list of permitted params, and you have to cast it to an array as I've done here.
If you are sending the form to the menus_controller, then you've got a doubly-nested assignment going on, and you'll probably want to use accepts_nested_parameters_for in your model relationship between menu and meal. I would do that if I was building N number of meals within one menu form. If you're trying to get this going first, I would just save each meal individually first, and then, once it's working at that level, try to further complicate it by nesting forms.
Walter
> On Jul 20, 2019, at 12:25 PM, John Sanderbeck <bandor535@gmail.com> wrote:
>
> Ok. Changed to Document.ready and got the drag and drops firing...
>
> Also changed the data URl to be a data ID which is the ID of the meal item.
>
> The part I am unsure of is assigning the mitem array that gets passed back in the form...
>
> I know this should be simple and as you can tell I am a total newbie with this... :-)
>
> John
>
> On Friday, July 19, 2019 at 10:48:56 AM UTC-4, John Sanderbeck wrote:
> I have an app in production that I am adding a module to for Lunch Ordering
>
> What I have is a Menu, which has Meals, and the Meals have Meal Items in Categories like Entree, Vegetable, Fruit, and Drink
>
> What I would like to do it allow Drag and Drop to build meals, and Drag and Drop to build Menus
>
> I made a standard Rails form with a Drag and Drop area for the meal with the items as draggable and sorted in groups on the right....
>
> I don't think I need an Ajax call as I am building or editing the meal. What I need to be able to do is manipulate the array that gets passed back for the Meal Items...
>
> Any suggestions or links I can look at to do this?
>
> John Sanderbeck
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f0ec2c68-3c7d-40db-85f4-52ff4ab3866c%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/572E6A7A-B9F0-4EF2-9E38-D279ADE158E0%40wdstudio.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAE9L%3DmZEK8MMskqiphAhhTZO-q3qXMQ5-nK4_XUMnU%3DQrASaJQ%40mail.gmail.com.
On Friday, July 19, 2019 at 10:48:56 AM UTC-4, John Sanderbeck wrote:
I have an app in production that I am adding a module to for Lunch OrderingWhat I have is a Menu, which has Meals, and the Meals have Meal Items in Categories like Entree, Vegetable, Fruit, and DrinkWhat I would like to do it allow Drag and Drop to build meals, and Drag and Drop to build MenusI made a standard Rails form with a Drag and Drop area for the meal with the items as draggable and sorted in groups on the right....I don't think I need an Ajax call as I am building or editing the meal. What I need to be able to do is manipulate the array that gets passed back for the Meal Items...Any suggestions or links I can look at to do this?John Sanderbeck
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f0ec2c68-3c7d-40db-85f4-52ff4ab3866c%40googlegroups.com.
Sorry, I should have elaborated a little more Walter...--I implemented Interact.js and used an example from a Drifting Ruby Episode... https://www.youtube.com/watch?v=fhnHA7PWq0gDragging is working but drop doesn't "look" to be firing...My form code currently is like this<script>var dragMoveListener;dragMoveListener = function(event) {var target, x, y;target = event.target;x = (parseFloat(target.getAttribute('data-x')) || 0) + event.dx;y = (parseFloat(target.getAttribute('data-y')) || 0) + event.dy;target.style.webkitTransform = target.style.transform = 'translate(' + x + 'px, ' + y + 'px)';target.setAttribute('data-x', x);return target.setAttribute('data-y', y);};window.dragMoveListener = dragMoveListener;interact('*[data-draggable="true"]').draggable({inertia: false,autoScroll: true,onmove: dragMoveListener});$(document).on('load', function(){interact('#meal_items').dropzone({accept: '*[data-draggable="true"]',overlap: 0.75,ondropactivate: function(event) {},ondragenter: function(event) {event.target.classList.add('drop-target');event.relatedTarget.classList.add('can-drop');return $.get(event.relatedTarget.attributes['data-url'].value, {favorite: true});},ondragleave: function(event) {event.target.classList.remove('drop-target');event.relatedTarget.classList.remove('can-drop');return $.get(event.relatedTarget.attributes['data-url'].value, {favorite: false});},ondrop: function(event) {},ondropdeactivate: function(event) {event.target.classList.remove('drop-active');return event.target.classList.remove('drop-target');}});});</script><% if action_name == "new" %><div class="page-title">Creating New Meal</div><% else %><div class="page-title">Editing Meal</div><% end %><div><div class="col-sm-4 col-md-4"><%= form_for @meal do |f| %><% if @meal.errors.any? %><div id="error_explanation"><h3><%= pluralize(@meal.errors.count, 'error') %> prohibited this meal from being saved:</h3><ul><% @meal.errors.full_messages.each do |message| %><li><%= message %></li><% end %></ul></div><% end %><div><table><tr><th align='left'>Name:</th><td><%= f.text_field(:name) %></td></tr><tr><th align='left'>Description:</th><td><%= f.text_area(:description) %></td></tr><tr><th align='left'>Available Daily:</th><td><%= f.check_box(:available_daily, 'data-toggle' => "toggle", 'data-size' => "mini", 'data-on' => "Yes", 'data-off' => "No", 'data-style' => "ios") %></td></tr><tr><th align='left'>Not Available:</th><td><%= f.check_box(:not_available, 'data-toggle' => "toggle", 'data-size' => "mini", 'data-on' => "Yes", 'data-off' => "No", 'data-style' => "ios") %></td></tr><tr><th align='left'>Meal Items:</th><td><div id="outer-dropzone"><div id="meal_items" class="dropzone"><% unless @meal.mitems.nil? %><% @meal.mitems.each do |mealitem| %><%= content_tag :div, mealitem.name, class: 'drag-drop can-drop', data: { draggable: true, url: meal_path(mealitem) } %><% end %><% end %></div></div></td></tr></table><div class="form-submit-buttons"><%= f.submit class: 'btn btn-success' %><%= link_to 'Cancel', meals_path, class: 'btn btn-danger' %></div></div><% end %></div><div class="col-sm-2 col-md-2 entrees"><div class='meal_item_title'>Entrees</div><% Mitem.entrees.each do |food| %><%= content_tag :div,class: 'drag-drop entree_items',data: { draggable: true, url: mitem_path(food) } %><% end %></div><div class="col-sm-2 col-md-2 vegetables"><div class='meal_item_title'>Vegetables</div><% Mitem.vegetables.each do |food| %><%= content_tag :div,class: 'drag-drop vegetable_items',data: { draggable: true, url: mitem_path(food) } %><% end %></div><div class="col-sm-2 col-md-2 fruits"><div class='meal_item_title'>Fruits</div><% Mitem.fruits.each do |food| %><%= content_tag :div,class: 'drag-drop fruit_items',data: { draggable: true, url: mitem_path(food) } %><% end %></div><div class="col-sm-2 col-md-2 drinks"><div class='meal_item_title'>Drinks</div><% Mitem.drinks.each do |food| %><%= content_tag :div,class: 'drag-drop drink_items',data: { draggable: true, url: mitem_path(food) } %><% end %></div></div>
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e8d17aa1-5f7f-4a00-ae45-433a2b751724%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAP%2BbYWCh3W1YWaKEtT2Fu6bjcZsgjs9Aqzbx5Ft659ERQTTAVg%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/19705e9c-787a-4ec6-b2f6-d02c619a58d0%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e8d17aa1-5f7f-4a00-ae45-433a2b751724%40googlegroups.com.
What happens now when you drop the element? Do you see anything in your browser's JavaScript console indicating that the drop event fired? Did you do anything beyond CSS (to make it look a particular way) to define the draggable and droppable behaviors for these elements? Do the draggable elements have unique IDs or data-attributes or some other sort of identification scheme?
Here's where I would start looking for more information: https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API
Walter
> On Jul 19, 2019, at 10:48 AM, John Sanderbeck <bandor535@gmail.com> wrote:
>
> I have an app in production that I am adding a module to for Lunch Ordering
>
> What I have is a Menu, which has Meals, and the Meals have Meal Items in Categories like Entree, Vegetable, Fruit, and Drink
>
> What I would like to do it allow Drag and Drop to build meals, and Drag and Drop to build Menus
>
> I made a standard Rails form with a Drag and Drop area for the meal with the items as draggable and sorted in groups on the right....
>
> I don't think I need an Ajax call as I am building or editing the meal. What I need to be able to do is manipulate the array that gets passed back for the Meal Items...
>
> Any suggestions or links I can look at to do this?
>
> John Sanderbeck
>
> <Untitled picture.png>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f72ba618-4da8-4e4b-a261-5d39b233bc80%40googlegroups.com.
> <Untitled picture.png>
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8F137EF5-6122-4967-B59B-12632C62FD5D%40wdstudio.com.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f72ba618-4da8-4e4b-a261-5d39b233bc80%40googlegroups.com.
On Thu, Jul 18, 2019 at 1:05 PM David McDonald <daveomcd@gmail.com> wrote:
> I think I just need to backup my nginx.conf, and sites-enabled folder.
If you put all your config files into a git repo it'll make it easier to see
what's getting changed by the upgrade process.
It's all useful if you wind up going the new-server-reinstall-the-app
route (which would be my preference).
HTH, and good luck!
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yAywNtxFVaL3TPcQYZhf5kphf-rr3e61C7N23EmLQ%3DXOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Thursday, July 18, 2019 at 3:34:46 PM UTC-4, Colin Law wrote:
On Thu, 18 Jul 2019 at 19:15, David McDonald <dave...@gmail.com> wrote:
>
> I have an ubuntu-server running version: Ubuntu 14.04.5 LTS. I want to upgrade it to Ubuntu 18.04 LTS. I snapshotted my server and tried to upgrade it to 16.04, and then 18.04 but ran into some issues where it seems through the upgrades I lost some of my configuration files. When prompted by Ubuntu through the upgrades I chose to keep the local versions but I guess it didn't ask about those configuration files.
Generally you should look at the diff in these cases as it may be you
had modified the original file and want to retain those mods. However
you should not just retain your original as there may be new stuff in
the new version that you need. Having looked at the diffs you can
either use the new one, or apply your mods to the new one.
However you say the missing files are not ones you were asked about.
Can you give examples of those?
Colin
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c2b1cf77-fb1e-4266-9536-47016716d1e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Thu, 18 Jul 2019 at 19:15, David McDonald <daveomcd@gmail.com> wrote:
>
> I have an ubuntu-server running version: Ubuntu 14.04.5 LTS. I want to upgrade it to Ubuntu 18.04 LTS. I snapshotted my server and tried to upgrade it to 16.04, and then 18.04 but ran into some issues where it seems through the upgrades I lost some of my configuration files. When prompted by Ubuntu through the upgrades I chose to keep the local versions but I guess it didn't ask about those configuration files.
Generally you should look at the diff in these cases as it may be you
had modified the original file and want to retain those mods. However
you should not just retain your original as there may be new stuff in
the new version that you need. Having looked at the diffs you can
either use the new one, or apply your mods to the new one.
However you say the missing files are not ones you were asked about.
Can you give examples of those?
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLtCJCVayMk75oaWbA0j13WTc6eb8W8rY5fLKRRyoCjpDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Your approach should also work by keeping things very incremental - when you note that a configuration file seems to be missing refer back to the original server's version and keep the new one as close to parity with the original as possible. There is too much information about updating and maintain legacy Rails apps out there to really make a specific recommendation for how to guides but the best place to start is simply reading the official Rails guides on updating/upgrading to see what you're in for and that using that to google-fu for how-to articles that mirror your own situation.
Once you've got things running on a newer Ubuntu version come up with a plan for regular update maintenance because it's much easier to update incrementally on a consistent basis than it is to just let a legacy app sit and accumulate huge amounts of technical debt. Good luck!
I have an ubuntu-server running version: Ubuntu 14.04.5 LTS. I want to upgrade it to Ubuntu 18.04 LTS. I snapshotted my server and tried to upgrade it to 16.04, and then 18.04 but ran into some issues where it seems through the upgrades I lost some of my configuration files. When prompted by Ubuntu through the upgrades I chose to keep the local versions but I guess it didn't ask about those configuration files. My question is what is a recommended approach to upgrading? I currently use passenger, nginx - are there any guides that discuss how to do this with that setup? Or am I better off creating a new server, setting it up and then redirecting to it? Another important note is this server/web application is for small internal usage. probably dealing with less than 30 users on a daily basis... I appreciate any guidance! Thanks!--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/68ff7e77-8957-4185-aa99-40ae261ed0d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADuEqH%2B7Fts2nPoi7fb1t5933vmVZGF1uWZAEhPJ%2BjuKgF-gNw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/68ff7e77-8957-4185-aa99-40ae261ed0d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello Partner's
Please share to me your best consultant's for the above role with our client.
Only USC/GC independent Profiles.
RESPONSIBILITIES:
- Implement new product features using Ruby, JavaScript, PostgreSQL, and Redis.
- Build new integrations with third party APIs, and troubleshoot and maintain them.
- Extend and maintain the platform API, balancing sustainable design and architecture with feature velocity.
- Make and explain design trade-offs, mentor junior engineers, and prioritize bugs.
- Act as engineering lead and manage, coach, and mentor direct reports as required.
MINIMUM REQUIRED QUALIFICATIONS:
- At least 5 years professional software development experience.
- B.S. in Computer Science, Computer Engineering, Mathematics, or equivalent experience.
- Deep understanding of web application architecture, object-oriented design, and computer science principles.
- Demonstrated mastery in at least one programming language.
- Communicate ideas clearly, and write intelligently.
- Able to work onsite at our Boston, MA office. Only local candidates will be considered.
- We're builders and we want to work with other builders. Many of us create music, publish art, maintain open source libraries, write blogs, found businesses, and build products.
Best Regards,
Jasvinder Singh
Technical Recruiter
AIT Global Inc :: WBENC | MBE Certified
228 Route 34, Matawan, NJ 07747
(E) :Jasvinder@aitglobalinc.com|
(T) : 732-696-1024|
(w) : www.aitglobalinc.com
Do you know anyone looking for job change? Please share his resume with me
For more jobs, join me on linkedin:
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/477265bb-acaa-4cec-ba8c-62c6bc95bc25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
HI,--i want to upload a has_many association. but instead of adding records, i would like to to incorporate first/find_or_create.is that posible?@p = Project.new(params)@pt = @p.tasks.build(params)@p.find_or_create ????is that possible?thx
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMfGyFMaVpiFcgLf7GweJC7dAnr87XDwtM2UVS70LiyVNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAPS3bcDxCJQzQ%2BO8XToaSfeX%3D31Yg-0V867Ps%3DT-goTaGxs_aA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMfGyFMaVpiFcgLf7GweJC7dAnr87XDwtM2UVS70LiyVNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
I'm not sure what this has to do with Ruby on Rails. As far as I can tell, Dynamics 365 is a Microsoft accounting application. Rails is an open-source framework for building Web applications. The only place their circles cross is that you could probably build a similar application as Dynamics 365 with Rails.
Walter
> On Jul 5, 2019, at 7:09 AM, vijay kumar <vijayseo.rbt@gmail.com> wrote:
>
> Hello!
>
> I recently inherited a Dynamics 365 environment and am new to the system. I'm working on a new requirement to only allow certain users to view certain accounts. IE:
>
> Person A can only see account A
> Person B can only see account B
>
> This environment has a single business unit accessing a custom entity. After doing research, I've made the following changes:
>
> Created a new Business Unit as a child of the original
> Assigned user A to the new business unit
> Created and set user A with a single security role that only has Business Unit access the custom entity
> Assigned account A to this new business unit's default team
> Unfortunately, all views for this user are showing as empty. Here are some tests I've run to try and resolve the issue:
>
> Set all of the teams to have no security roles to avoid any permission crossover.
> Tried making a team outside of the default BU team with the same results
> Tried to individually assign a record to user A, which also does not show up in any view. Not sure why any records fail to show for this user.
> Set the security role for the user to global on the entity in question and that, of course, shows everything. Anything less than global will not display any records for this user no matter where they are.
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/12275cab-b693-4164-b6c7-94e3866acd05%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/B9524206-E921-4D5E-8CAC-8C7F4E5B0D85%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/12275cab-b693-4164-b6c7-94e3866acd05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
El viernes, 28 de junio de 2019, 14:58:04 (UTC+2), Ariel Juodziukynas escribió:
Have you tried the --verbose option when you run the command? it should give you some information of all the steps that the command executes.El vie., 28 jun. 2019 a las 7:15, Harold Alcalde Solarte (<haroldalca...@gmail.com >) escribió:Blank space is an error when copying.--The command works I use the same command with another repository smaller than this, I was thinking if it's something of the response time or the timeout, but I can not find anything.
El jueves, 27 de junio de 2019, 15:39:41 (UTC+2), Ariel Juodziukynas escribió:You have no blank space between USER and "--password". Also add the option "--verbose" to the comend to see more info of the request. Are you sure the command works? I mean, I don't see how it's related to ruby nor rubyonrails.El jue., 27 jun. 2019 a las 10:12, Harold Alcalde Solarte (<haroldalca...@gmail.com>) escribió:--Hi all,I am trying to create in my APP a tree of directories from the data of the SVN repository. My app is on Windows and the repository I'm trying to access on another Linux server.I'm using the command to get all the files and folders:
'svn list -R http://172.xx.xx.xx/repos/Ttest/ --trust-server-cert --non-interactive --username USER--password PASSWORD'When I execute the command it doesnt do anything and once the execution is cut, the following error is shown:
svn: E200015: Se atrapó una señalsvn: E200015: Se atrapó una señalsvn: E200015: Se atrapó una señalsvn: E170013: Unable to connect to a repository at URL 'http://172.xx.xx.xx/repos/Ttest/test1.txt 'svn: E200015: Se atrapó una señalsvn: E200015: Se atrapó una señalI have searched for those errors but I can not find a solution.Any suggestions?
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonra...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .c94a665a-ae09-4cea-a452- 3cbc5a9eaf80%40googlegroups. com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonra...@googlegroups.com .
To post to this group, send email to rubyonra...@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .7894c38e-f837-4659-8fac- 85eaf9b21581%40googlegroups. com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7f4b3794-ce0b-4888-a6d4-422b9f9ddcde%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.