https://github.com/zdennis/activerecord-import may be helpful to you,
Shubham.
On Tue, 18 Feb 2020 at 22:21, Shubham Thakur
wrote:
> Hi,
>
> I have around 25000, records and I want to save it into database using
> rails delayed job.
>
> but its taking around 45-50 min, can anyone suggest me how
David,
> On Sat, 15 Feb 2020 at 06:30, David Hughes
> wrote:
>
>> I am a scientist at Penn State and the United Nations. We have a Platform
>> called PlantVillage that is a public good with a backend built on RoR with
>> various apps farmers use around the world to get help. The reason these
>>
To set strict_mode on MySQL in rails, the knob you want is `strict: false`
On Thu, 2 Jan 2020 at 16:06, fugee ohu wrote:
> I'm thinking I'm getting this is because of mysql sql_mode traditional vs
> strict When I run select @@sql_mode on mysql console it returns a list of
> modes which include
Congrats!
On Fri, 13 Dec 2019 at 11:09, Rafael Mendonça França <
rafaelmfra...@gmail.com> wrote:
> Hi everyone,
>
> I am happy to announce that Rails 6.0.2 has been released.
>
>
> ## CHANGES since 6.0.1
>
> To view the changes for each gem, please read the changelogs on GitHub:
> * [Action
[response inline]
On Tue, 26 Nov 2019 at 05:55, fugee ohu wrote:
> What would that do to my data
>
You'll need to back it up. Which database are you using? -- H
--
OpenPGP:
https://sks-keyservers.net/pks/lookup?op=get=0xFEBAD7FFD041BBA1
If you wish to request my time, please do so using
[response inline]
On Tue, 26 Nov 2019 at 00:00, fugee ohu wrote:
> Complains that users table already exists
>
bundle exec rails db:drop db:create db:migrate db:schema:load
Seems you had a mistake in a migration. So, you need to reset your database
to pristine state and start again. Hope this
app/assets/stylesheets/
Try that spot? -- H
--
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+unsubscr...@googlegroups.com.
To view
>
> What's that?
>>
>
It's a gem that will generate a diagram for your database. Follow the
instructions on the linked page. -- H
--
OpenPGP:
https://sks-keyservers.net/pks/lookup?op=get=0xFEBAD7FFD041BBA1
If you wish to request my time, please do so using
*bit.ly/hd1AppointmentRequest
[response inline]
On Fri, 4 Oct 2019 at 21:40, fugee ohu wrote:
> how do i get the fields for item_item_properties on the new item form?
>
Can you please install https://github.com/voormedia/rails-erd, run the
generator, put the resulting image on imgur.com, and point me to it? -- H
--
[response inline]
On Fri, 4 Oct 2019 at 21:08, fugee ohu wrote:
> has_many :item_properties, through: :item_item_properties
>
Implying that you have a model corresponding to item_item_properties. You
can add fields to it through the relevant migration or using the migration
convenience
[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
[response inline]
On Mon, 23 Sep 2019 at 21:32, fugee ohu wrote:
> But then a single item will contain many records, one for each property,
> wouldn't that create too-large-tables?
>
By the time that becomes a problem, you'll have bigger things to worry
about it, mate. -- H
--
OpenPGP:
[response inline]
On Mon, 23 Sep 2019 at 21:02, fugee ohu wrote:
> Where do the values of the properties go? I don't mean the property name
>
Properties will have an "id" field, referred to as
auction_properties.property_id. Under auction_properties, there is a value
field. I'd assume it goes
Add a few Console.log lines to determine where it's dying? -- H
On Fri, 19 Jul 2019 at 14:12, John Sanderbeck wrote:
> Sorry, I should have elaborated a little more Walter...
>
> I implemented Interact.js and used an example from a Drifting Ruby
> Episode...
The first command will dump the data, then you can do your validations, and
finally, the second will restore them. -- H
On Sat, 9 Mar 2019 at 11:31, wrote:
> Thank you Hassan brilliant. I may not have explained this well. What i
> want to do is dump it from the CLI locally and then import the
Define 2 stanzas in database.yml. One for your postgres database, the
second for your mysql. "bundle exec rails db:schema:dump
RAILS_ENV=$POSTGRES_STANZA" will save the data and "bundle exec rails
db:schema:load RAILS_ENV=$MYSQL_STANZA" will restore it to mysql. Let me
know if you should require
On Sun, 24 Feb 2019 at 23:19, David Merrick wrote:
> Does anyone know how to do this with Rails 5.2.2?
>
Not having done this myself, but I did find a test[1] that sends the
confirmation emails. Hope that helps, Dave. -- H
--
OpenPGP:
To be safe, go through a stepwise upgrade, running and fixing your tests at
each step. -- H
On Thu, 31 Jan 2019 at 23:50, raj kumar <2017k...@gmail.com> wrote:
> I have a Rails app, made 10 years back in 2009 with following version:
> rails version = 2.0.2
> ruby version = 1.8.7
> Database =
in erb, something like "<% if comment.body.empty? %> Your error message <%
end %>" should sort you... If not, please give further information -- H
On Wed, 26 Dec 2018 at 02:58, jason cao wrote:
> Hi,
>
> How can I show error messages if a comment is invalid? E.g. when a comment
> body is empty.
Do you have rvm managing your ruby versions? If so, just run rvm install
2.3.1 or comment out the ruby version in the Gemfile and you should be
golden.
On Sun, 23 Dec 2018 at 10:34, wrote:
> I am taking over an app that has not been developed for a few years.
> Currently the app is on Github
David,
You test only functionality provided by YOU. You don't necessarily need to
test upstream functionality. For example, in an app I recently wrote, I
needed to provide the time of intersection between two curves and used a
library to provide the (maybe complex) maths for the intersection.
Easier than using Ec2 is to use Elastic Beanstalk. There is a rails
tutorial at
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/ruby-rails-tutorial.html
. Let me know if you can't make heads from tails of it. -- H
On Fri, 30 Nov 2018 at 16:54, David Merrick wrote:
> Thats about what I'm
Lori,
[response inline]
On Thu, 18 Oct 2018 at 23:02, Lori Rouleau wrote:
> Join 80 of the most talented and fun Ruby on Rails Full Stack Developers in
> San Fran.
What's your address in San Francisco? I'll need it for commuting purposes.
>
> We’re here to change primary health care at it’s
https://www.thegreatcodeadventure.com/managing-multiple-databases-in-a-single-rails-application/
looks like it might be useful, Stephanie. Let me know how you get
on... -- H
On Thu, 11 Oct 2018 at 13:50, Stephanie_Snowflake
wrote:
>
> I'm looking for advance ROR classes (school or online) that
Joe,
Perhaps putting your app on github/bitbucket would be useful? -- H
On Mon, 1 Oct 2018 at 10:50, Joe Guerra wrote:
>
> Hi, I've got my facebook login working ok with my web app, but not sure how
> to grab some extra facebook values (last_name, first_name).
>
> If I could just inspect or
Javascrpt? -- H
On Sun, 16 Sep 2018 at 00:35, fugee ohu wrote:
>
> how does gmail make new messages appear in your browser as they arrive?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop
On Fri, 14 Sep 2018 at 06:51, Walter Lee Davis wrote:
> Does anyone have an idea how many professional Rails developers are out there
> at the moment? Is it tens of thousands? Hundreds? I know it is way more than
> thousands, because RailsConf sells out every year, and that's just the US.
>
On Fri, 7 Sep 2018 at 01:45, Edsil Basadre wrote:
>
> Is this remote work?
I think a careful reading of the subject line will confirm that, Edsil. -- H :)
--
OpenPGP: https://sks-keyservers.net/pks/lookup?op=get=0xFEBAD7FFD041BBA1
If you wish to request my time, please do so using
On 28 August 2012 02:16, Dheeraj Kumar a.dheeraj.ku...@gmail.com wrote:
LOL! All know its absurd, don't u ppl have a sense of humour or
something?
A serious suggestion: don't insult your clients with your choice of
platform. -- H
--
Sent from my mobile device
Envoyait de mon portable
--
29 matches
Mail list logo