Re: [Rails] Re: Deep Nesting Help

2019-09-26 Thread Ariel Juodziukynas
But what's the actual problem? you say you have some problem but you just pasted code with no indication on where to look. Do you have a render error? do you have the view rendering ok but when you submit it it does not do what you want? if it does not do what you want, what's the excepted vs the a

Re: [Rails] Re: Deep Nesting Help

2019-09-26 Thread John Sanderbeck
I agree I can clean up the build but the problem I am having is in the form, not the models... I need to structure the nested form and I can't seem to figure out the rails syntax... Just experimenting, and currently, this is the closest I have gotten to what I am trying to do... <% @dd_deta

Re: [Rails] auction site listings table

2019-09-26 Thread Ariel Juodziukynas
You were asking a way to store different values, I thought you wanted to preserve the type (so you can distinguish 1 from "1" when you read the record). If you think strings are enough for your requirements just use a string column, if you want to use one column to store values but preserve the or

Re: [Rails] auction site listings table

2019-09-26 Thread fugee ohu
On Thursday, September 26, 2019 at 4:32:10 PM UTC-4, Ariel Juodziukynas wrote: > > The easiest but too big is a text columns so you can use > activerecord' serialization of attributes to save anything you want on a > text field and activerecord will handle casting. > > You could use a string c

Re: [Rails] auction site listings table

2019-09-26 Thread M.FURQAN BiN.AMEEN
I have a complete project as like in ruby on rail with same tables name you can contact with me further on my email Best Regards: MUHAMMAD FURQAN On Fri, Sep 27, 2019, 1:16 AM fugee ohu wrote: > > > On Monday, September 16, 2019 at 4:31:29 PM UTC-4, Ariel Juodziukynas > wrote: >> >> Personally

Re: [Rails] JOB | Front End Architect (London)

2019-09-26 Thread M.FURQAN BiN.AMEEN
Hi Here m available for working with you also have Honorable Sir/Madam, I hope this finds you well. Please find the enclosed (Muhammad Furqan CV. docx) for your review for position mentioned in the subject line. Best Regards: MUHAMMAD FURQAN On Thu, Sep 26, 2019, 4:20 PM James Tobin wrote: >

Re: [Rails] auction site listings table

2019-09-26 Thread Ariel Juodziukynas
The easiest but too big is a text columns so you can use activerecord' serialization of attributes to save anything you want on a text field and activerecord will handle casting. You could use a string column if you know your values won't be too big (VARCHAR(255)) and you know what types you want

Re: [Rails] auction site listings table

2019-09-26 Thread Hasan Diwan
[response inline] On Thu, 26 Sep 2019 at 13:17, fugee ohu wrote: > What data type do you suggest for value column? > There were types suggested by the original responder. However, worrying about column types is an instance of premature optimization. Get the basic site working, and then optimiz

Re: [Rails] Re: Deep Nesting Help

2019-09-26 Thread Ariel Juodziukynas
I'm not sure I understand what's the problem, where exactly do you have doubts? I'd suggest you first refactor that super ugly nested loops and ifs: - remove the unnecesarry if's DdCategory.all.each do |category| # If the Category is active, build it if category.is_active? can't y

Re: [Rails] auction site listings table

2019-09-26 Thread fugee ohu
On Monday, September 16, 2019 at 4:31:29 PM UTC-4, Ariel Juodziukynas wrote: > > Personally, I would do this: > > auctions table > (with the basic shared information of all auctions and an "auction type")) > > properties table > property_name (like network, carrier, publisher, etc) > auction_type

Re: [Rails] auction site listings table

2019-09-26 Thread fugee ohu
On Monday, September 16, 2019 at 4:31:29 PM UTC-4, Ariel Juodziukynas wrote: > > Personally, I would do this: > > auctions table > (with the basic shared information of all auctions and an "auction type")) > > properties table > property_name (like network, carrier, publisher, etc) > auction_type

[Rails] Re: Deep Nesting Help

2019-09-26 Thread John Sanderbeck
> Another thing to note is I am also only doing an Edit of the data as the > records already have been created and are not allowed to be destroyed. > John -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group

[Rails] JOB | Front End Architect (London)

2019-09-26 Thread James Tobin
Hello, I'm working with an employer that is looking to hire a permanent front end architect to join their London office. You should have experience with Javascript and frameworks such as (but not only) React. Consequently, I had hoped that some members of this mailing list may like to discuss fur

[Rails] How can I create a dependent option set using Javascript in Dynamics 365 v8.2 on-premise?

2019-09-26 Thread vijay kumar
Hi Everyone, Our use case is we have two option sets. Both can be modified by the user. Optionset1 contains two values. Optionset2 contains a dozen values. We want Optionset2 to show values depending on what value is selected for Optionset1. When no value is selected for Optionset1, we want