s like it
is asking for trouble)
cheers,
Rob
On Sat, 14 Mar 2020 at 15:17, Phil Edelbrock wrote:
>
> I think Ariel's reply is spot-on. Rails is basically DB agnostic, however
> I think the trend is that PostgreSQL is the more favored backend (except
> for stuff like Wor
postgresql these days, I'm
wondering if anyone can comment on whether it's worth putting in the effort
to learn a new db?
all the best
Rob
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this grou
Have you read the Rails API docs and Rails Guides for usage of form_with?
https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-form_with
https://guides.rubyonrails.org/form_helpers.html
On Mon, Nov 18, 2019 at 2:25 PM fugee ohu wrote:
> Trying to build a rails 5.2 f
yup - sounds like you have nailed that one.
As you say; The error here is in trying to implicitly convert a symbol into
an integer.
Isn't it great how Rails (ruby) helps you out.
> 4 <%= f.text_area
> [:item][:item_item_property][ip.name.downcase.to_sym] %>
>
>
--
You received this m
On Tuesday, 15 October 2019 18:54:49 UTC-7, fugee ohu wrote:
>
> Thanks Can you show me where I would use the room: value pair elsewhere to
> limit the chat to the intended 2 users only
guess what; The Rails Action Cable guide talks about authorization
https://guides.rubyonrails.org/action_ca
https://lmgtfy.com/?q=how+to+%20use+websockets+in+rails
and for those new to fugee who think this is a little harsh
https://groups.google.com/forum/#!searchin/rubyonrails-talk/fugee%7Csort:date
I don't think you'll find a single question where the smallest amount of
effort has been shown before
/en-US/docs/Web/API/File>
https://developer.mozilla.org/en-US/docs/Web/API/File/lastModified
<https://developer.mozilla.org/en-US/docs/Web/API/File/lastModified>
-Rob
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscr
>
> Also, I just found out, the long link is always a redirect to the App to
> get a temporary link to a storage service, so it won't be cached by
> browsers, ever. Jeez...
>
> Looks like ActiveStorage is a unique tool for certain things in Basecamp,
> not a Carrierwave substitute. Am I right
This probably works:
relation =
Project.joins(:bids).group(Arel.sql('projects.id')).order(Arel.sql('count(bids.id)
DESC'))
However, you might have to play around with it a bit if you need to put the
`.includes(:bids, :user)` back in (or take the 1+N hit)
-Rob
>
&g
pects.
drop me a line if you'd like an intro.
Please - no agencies or dev shops.
cheers,
Rob
--
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 e
nd
where possible assign a different pair of eyes.
thoughts?
cheers,
Rob
--
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+un
Not quite sure what you're asking.
Rails by default has no root path configured. You have to add that in
yourself.You can have non-root paths too.
If you see a Rails app where the root path seems to work but there
isn't one defined it could be being proxied there by the webserver.
On Fri, M
scope :ending, -> { limit(4) }
On Thu, Mar 28, 2019 at 4:52 AM fugee ohu wrote:
>
> How would I correct this scope statement from my model for rails 5.1.4
> scope :ending, :limit => 4
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group
Looks like you are not redirecting the user to another page when the
contact info has been sent.
Do you want to redirect them to the home (or another) page and show a "Your
message has been sent" alert?
replace flash.now[:error] = nil with redirect_to root_path, notice: 'Your
message has been sen
It varies on each request
https://medium.com/rubyinside/a-deep-dive-into-csrf-protection-in-rails-19fa0a42c0ef
On Sat, Mar 16, 2019 at 2:19 AM 0x01 wrote:
> I do use Heroku and pipe logs to Papertrail (log aggregation service).
> Also, logs are stored in Amazon S3 for some time.
>
> If these log
>
> bundle exec rails db:schema:dump
does this dump the data, or just the schema?
I would assume just the schema - and that to transfer the data you'll need
to use something like the solutions here:
https://wiki.postgresql.org/wiki/Converting_from_other_Databases_to_PostgreSQL#MySQL
--
You
What problem are you having?
I have always found it worked pretty much out of the box (assuming you have set
up your mail config)
--
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 fr
On Saturday, 16 February 2019 04:27:51 UTC, David Merrick wrote:
>
> Is there a way stop logged in users copying and pasting resources in a S3
> Bucket to other people?
>
The easiest way to handle this is to deal with the doc through
ActiveStorage where you let rails upload it into an amazon s3
browser (or if you don't include the standard js includes)
When I started writing Rails, it was normal to consider that a meaningful
proportion of your customers would not have js, and write the app to handle
that case.
Today, I certainly wouldn't waste time coding for the 'what if they
This is totally doable without javascript.Rails works perfectly fine
without Javascript.
You will need to re-render the page from the server on any change/submit.
That is ok (I suspect the exercise they are trying to teach you is that
these sorts of interactions *can* be done in a server rende
rails/
having said all that - it sounds like you might be jumping ahead. What
you're trying to do is probably going to be covered in your next module!
enjoy,
Rob
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubs
Is the Ruby on Rails list the best place to ask this question?
On Sun, Feb 10, 2019 at 6:45 PM fugee ohu wrote:
> I'm trying to implement clipboard.js It works if i put a simple text
> string inside the ...
> containers but if I put the html shown below it copies only newline and
> whitespace ch
Well, to be quite pedantic, fugee is more or a "help vampire" than a troll.
[ https://www.urbandictionary.com/define.php?term=help%20vampire ](
https://www.urbandictionary.com/define.php?term=help%20vampire )
-Rob B. (different from Rob J.)
-Original Message-----
From: &
g, but I do think fugee needs to work on their
> google-fu.
>
> On Wed, Feb 6, 2019 at 6:32 AM Rob Jonson wrote:
>
>> If so, I have a request:
>>
>> I'm fed up of one persistent individual spamming the list with questions
>> along the lines of
>>
&
ividual from
this list.
If there is no administrator, then my request to everyone else is to treat
this like trolling, and just stop feeding the troll.
thanks,
Rob
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe f
I would check the environments are the same and try to diagnose what is
different.
Start with
- Same Ruby versions
- Same database and database versions (especially if the failures are
database ones)
Is the failures due to an area of code that uses any native gems that may
have not been compiled
The spree tag on StackOverflow is active. That combined with
http://www.catb.org/esr/faqs/smart-questions.html should help
On Mon, Jan 14, 2019 at 3:53 PM fugee ohu wrote:
> Changes to spree_preferences roll back and there's no error anywhere but
> it works in development If the problem is a mi
On Sunday, 13 January 2019 19:38:10 UTC, fugee ohu wrote:
>
> What do I need it for besides being able to restart apps
>
http://lmgtfy.com/?q=what+does+rails+passenger+do
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe
On Thursday, January 10, 2019 at 4:43:59 PM UTC-6, Rob Jonson wrote:
>>
>> bypass_sign_in is intended to be used from a controller where you'll have
>> access to things like 'session'
>> I suggest you start by getting it working in the intended environment
&
bypass_sign_in is intended to be used from a controller where you'll have
access to things like 'session'
I suggest you start by getting it working in the intended environment
before you try to pull it out into a standalone script.
On Thu, 10 Jan 2019 at 22:16, Jason Hsu wrote:
> OK, I'm trying
There didn't seem to be a question here but assume you want to know
how to select a column with a reserved word.
This issue has some examples
https://github.com/rails/rails/issues/2601 Looks like using a symbol
or double quoting it should work.
On Mon, Jan 7, 2019 at 7:40 PM fugee ohu wrote:
>
looks like that example is using devise, so you can bypass signin
(after checking authorisation)
https://www.rubydoc.info/github/plataformatec/devise/Devise%2FControllers%2FSignInOut:bypass_sign_in
or see:
https://github.com/plataformatec/devise/wiki/How-To:-Sign-in-as-another-user-if-you-are-an
Have you tried asking on Stack Overflow? https://stackoverflow.com/
On Thu, Jan 3, 2019 at 8:43 AM fugee ohu wrote:
> I haven't been able to get my logo to work in spree 3.6.4 it displays as a
> resource unavailable broken glyphicon even though the path to image file is
> vendor/assets/spree/fr
Is this in a test? Whats the scenario you are trying to achieve?
On Thu, Dec 27, 2018 at 1:03 PM fugee ohu wrote:
>
> How do I create a new instance of chromedriver-helper to fetch a url
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk"
On the rails console try app.get('/') (replace the string with a
path) eg app.get('/about')
On Wed, Dec 26, 2018 at 4:58 PM fugee ohu wrote:
>
> When I try to run `visit ` from rails console rails complains so such
> route, of course there's no supposed to be since I'm not requesting a page on
e the images, use a digital ocean space or use
a third party like AWS. The last two will take a bit of setup though.
If you check them out on this link: https://hatchbox.io/?via=rob then I'll
get a referral bonus. If you use the naked URL - I won't!
I have written about my experienc
This may help
https://til.codes/rails-devise-send-different-emails-for-confirmation-based-on-the-presence-of-attribute-or-parameter/
You can also configure which email layout to use (would be similar to how
you are setting the application layout to use).
# Or to configure mailer layout
Devise:
>
>
>> > I'm adding chat to my sn site that already uses mailboxer What to do?
>>
>>
Hire someone who has some rails experience and doesn't just post on
newsgroups hoping that a stranger will do their work for them.
More specifically: You'll have a much better experience developing an app
if y
>
> I think rails is the best framework out there. But I think all these
> frameworks do not solve any actual problems. They just abstract
> problems to simpler forms.
>
Can I assume you'll be going back to writing assembly then?
Or will you be sticking with pure machine code?
--
You recei
going.
cheers,
Rob
--
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 post to this group, send
On Monday, 5 November 2018 19:19:00 UTC, fugee ohu wrote:
>
> I imported some sms messages with emoticons in them and even though I'm
> setup for utf8 encoding such as foreign languages, these emoticons raise
> 'incorrect string value' error
>
https://blog.arkency.com/2015/05/how-to-store-emoj
onus
https://hatchbox.io?via=rob <https://hatchbox.io/?via=rob>
--
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...
>
> I notice basic staple sites like gmail rely on real time technologies like
> let's say React and ActionCable so things going to follow the need for real
> time
>
gmail is a massive complex, hugely expensive site that is built by a large
engineering (and management) team. It is painful an
Try running gem pristine --all
On Tue, Oct 23, 2018 at 10:11 PM Piyush Chowhan
wrote:
> Rails 5.2.1
>
> Ruby 2.5.1
>
> are installed
>
> Not able to run server for any app
> What am I missing?
> rails s
>
> *Traceback* (most recent call last):
>
> 2: from /usr/local/bin/rails:23:in `'
>
> 1: fro
In development run your tests with the DISABLE_SPRING=1 flag before the
test command and see if you see a difference in coverage.
On Sun, Oct 21, 2018 at 12:17 AM Jason Hsu, Ruby on High Speed Rails <
jhsu802...@gmail.com> wrote:
> How can I get test coverage results to show more consistent resul
>
>
>
> Thank you very much, Rob ! I will add a unique index to Users#username
> column (I had one but without *unique* option).
> What about wrapping the call into transaction ? Will it be correct to call
> *retry* ? If I got it right, retry will take another call to
>
You need to enforce the uniqueness at the database level, then catch errors.
https://robots.thoughtbot.com/the-perils-of-uniqueness-validations
More info on transactions here:
https://makandracards.com/makandra/31937-differences-between-transactions-and-locking
iiuc - transaction enforces that al
again - taste and preference here.
my issue with `policy_scope(User)` in the view isn't that it is complex
code, clearly it isn't.
it's more that I don't want my view to know or care about authorisation.
I think when you're talking about a select 'policy_scope(User).collect',
you're asking t
Hi John,
firstly - I don't know pundit, so this is only general advice.
secondly - we're definitely in the realm of taste and preference here
rather than 'ok' and 'not ok'
having said that, my two pence:
the rails style guide says 'Never call the model layer directly from a view'
https://github
<%= f.select :country, options_for_select(["CA", "US"]) %>
On Thu, Oct 4, 2018 at 6:40 AM Joe Guerra wrote:
> I'm not sure why I went to this extent, but I was trying to remove the gem
> and failed. (it still kept finding the helper method - even though I
> removed it from my view)
>
> Anyways
>
>
>>> (a) Perhaps no one knows the answer.
>>> (b) It's a weekend.
>>>
>>
>>
>> (c) You ask so many questions that are often not easy to understand that
>> many do not bother trying any more.
>>
>>>
>>>
How do i render an xml view like index.xml.erb or index.xml.builder
d) Your question is b
Possibly related: Rails 5 has new (improved) behaviour for collection
caching
<%= render partial: :post, collection: @posts, cached: true %>
will cache
although
<%= collection: @posts, cached: true %>
will not cache
more info on how it works and the benefits here:
https://blog.appsignal.com
Hi Folks,
I'm considering an app design where we use Wordpress for the public pages,
and Woo Commerce to handle memberships/subscriptions.
(Wordpress + Woo Commerce seem really well set up for a plug & play setup.)
We'd use a rails app for the custom work once the user was logged in.
I'm consid
doubtful. They are very different. Any reason you can't stick with one of
them?
On Tue, Sep 18, 2018 at 8:24 AM Joe Guerra wrote:
> Thanks, I'll try that.
>
> Hopefully it works for postgres and sqlite.
>
> On Mon, Sep 17, 2018, 5:18 PM Rob Zolkos, wrote:
>
>
I think you will need to wrap todaydate in strftime for sqlite. Away from
computer to check but google ‘date arithmetic sqlite’
On Tue, 18 Sep 2018 at 6:20 am, Joe Guerra wrote:
> I have an active record query (for my categories) that check for the date
> ( .where( 'enddate > ?', todaydate )).
The rails way to do this (update page when stuff happens at the server) is
ActionCable
https://guides.rubyonrails.org/action_cable_overview.html
It runs on websockets and allows the server to push information to the
browser. Your javascript on the page then needs to know what to do with
that in
This was removed at class level in Rails 4.2 .
https://edgeguides.rubyonrails.org/4_2_release_notes.html#respond-with-class-level-respond-to
You can leave the instance level one it will work fine.
On Fri, Sep 14, 2018 at 12:37 AM fugee ohu wrote:
> respond_to :js, only: :videochat
>
> def vid
These problems are largely solved by webpacker now in Rails. Just add npm
packages to your package.json (just as easy as adding to a Gemfile) and it
works great with the asset pipeline.
On Tue, 11 Sep 2018 at 6:50 am, Walter Lee Davis wrote:
> Someone reminded me off-list that I was thinking o
Are you thinking of https://rails-assets.org/#/
On Tue, 11 Sep 2018 at 6:18 am, Greg Navis wrote:
> I found https://github.com/endenwer/npm-rails but it uses a separate
> file, not Gemfile.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk"
the main change here is the rails version.
Once you figure out the update requirements for that - the apache / ruby /
passenger changes are (probably) a non-issue.
the key question is whether you have test coverage on the original app. If
you do, then I'd be tempted to do a big-bang update.
fir
h, and you can get a pretty good server from Digital
Ocean for the same.
$30/month saves a lot of hassle
when you release an update - you just push it to your master branch in git
(or whatever branch you choose) and it updates automatically.
read more here
https://hatchbox.io/?via=rob
(remove the
ility and much cheaper.
I have found they have almost exactly what I need out of the box. Reddis,
choice of database, nginx running http2 and https, sidekiq, action cable,
etc
https://hatchbox.io?via=rob
(link gives me referral credit)
cheers,
Rob
On Saturday, 4 August 2018 20:15:28 UTC-5,
> {"AL"=>"Alabama", "AZ"=>"Arizona", "OH"=>"Ohio"}
[5] pry(main)> Hash[STATE_TYPES].invert['OH']
=> "Ohio"
You might also want to look up Array#assoc and Array#rassoc which will operate
directly on your array of pa
nments as well.*
>>
>>
>> * it has made me rethink the way in which I develop applications.*
>>
>>
>> *Free prize draw*... For your chance to win a free copy, include the
>> following in a tweet “
>> https://pragprog.com/book/ridocker/docker-for-rails-de
t;, "950", "50"]
[2] pry(main)> ["AB_1020", "AB_950", "AB_50",].map {|x| x[/\d+/]}.sort
=> ["1020", "50", "950"]
[3] pry(main)> ["AB_1020", "AB_950", "AB_50",].map {|x| x[/\d+/]}.s
*Free prize draw*... For your chance to win a free copy, include the
following in a tweet
“https://pragprog.com/book/ridocker/docker-for-rails-developers #Docker
#Rails #RoRTalk @robisenberg” — one winner will be chosen at random.
Cheers,
Rob
p.s. any other help to spread the word would be muc
>
ok - two examples:
1) visited the dashboard (identified by a url, controller/action)
2) clicked on a button that showed a 'you need to upgrade to use this
feature' message (no interaction with the server)
in both cases, it would be easy for me to call some js code
log_feature(use
Hi Folks,
I'd like to be able to answer questions like
'over the last week, what proportion of my users used feature XXX'
or even
'over the last week, what proportion of active users used feature XXX'
can anyone recommend a service / gem / pattern to help me do thi
ia: [:get] , :mode=>{:x=>' whatever ',:y=>1}
, constraints: { seoterm: /.+/ }
so that :seoterm slurps all the remaining characters of the URL. This breaks
the "implicit" (.:format) that gets added because the constraint will match the
'.' and everything aft
the top example looks really clear to me.
I can see immediately what it is doing and why.
there is almost no duplication and it is doing 'controller-type' work.
what don't you like about it?
On Sunday, 4 March 2018 15:12:23 UTC, David McDonald wrote:
>
> I was struck recently by how simplified
If you're using capistrano for deployment (it's great!) - then this is a
good option
>
--
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
Rails is a pretty old and mature project - one of the great things about
that is that you don't have to flit from one tech to the next.
There are good solid libraries that have been around for years and will
probably be around for many more.
devise for authentication
simple_form (or similar) f
hips
> has_many :cars, through: :relationships
> attr_accessor :address_id
> attr_accessor :person_id
> attr_accessor :car_id
> attr_accessor :picture_id
> def formatted_name
> "#{last_name}, #{first_name}, #{middle_name}, #{name}"
> end
>
> end
Also
thank you
>
> There's this setting (in "config/environments/test.rb" for test env):
>
> config.action_controller.allow_forgery_protection = false (default for
> test env)
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscrib
javascript enabled.
In the test, I don't get the exception.
can anyone explain why?
thanks,
Rob
--
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, se
possible.
I have tried
cached: -> myThings { [ myThings, "list" ] }
and
cached: [myThings, "list" ]
but those were really just guesses as I don't understand the logic
I'm running rails 5.0.6
can anyone help?
thank you.
Rob
--
You received this messa
PATCH /galleries/:id(.:format) galleries#update
PUT/galleries/:id(.:format) galleries#update
DELETE /galleries/:id(.:format) galleries#destroy
Note the routes for index, create, and new ^^
-Rob
>
> On Tuesday, September 12, 2017 at 5:0
:condition => report_config.slider_order[i.condition][1],
:full_note => full_note.join("\n").strip,
:description => i.description,
:trade => i.trade,
:flagged => !i.require_maintenance.blank?
}
}
}
output.reject(&:empty?)
-Rob
--
You received this message because
> On 2017-Jun-29, at 10:59 , fugee ohu wrote:
> On Wednesday, June 28, 2017 at 10:09:25 AM UTC-4, Rob Biedenharn wrote:
>> On 2017-Jun-28, at 01:51 , fugee ohu > wrote:
>>
>> On Monday, June 26, 2017 at 9:43:19 AM UTC-4, Rob Biedenharn wrote:
>> At this point, yo
> On 2017-Jun-28, at 01:51 , fugee ohu wrote:
>
> On Monday, June 26, 2017 at 9:43:19 AM UTC-4, Rob Biedenharn wrote:
> At this point, you should be able to look around a small codebase like this
> and figure it out, but here are the "hints":
>
> https://
> On 2017-Jun-28, at 01:49 , fugee ohu wrote:
>
>
>
> On Monday, June 26, 2017 at 9:43:19 AM UTC-4, Rob Biedenharn wrote:
> At this point, you should be able to look around a small codebase like this
> and figure it out, but here are the "hints":
>
> ht
s is working, point to a specific thing and ask a more
directed question.
-Rob
P.S. The routes could easily be amended to be:
resources :comments, except: [:new]
> On 2017-Jun-25, at 22:04 , fugee ohu wrote:
>
> I'm looking at the Dustin Fisher example app on github
>
o get the system bootstrapped. Loading data from
some other source is probably best approached as a stand-alone script that can
be run once.
-Rob
>
> You seem to be going at this all sideways. When you stand up a server, you
> run the migrations on that server in the production environ
; do |t|
> thanks in advance
Here's an idea for you: Run the migration and then look into the db/schema.rb
file and compare that to the migration and to the actual database table.
It would save time for everyone if you tried some of this yourself and then, if
it doesn't make sense,
column to all lowercase.
>
> any ideas?
Note that "Startdate=" remains as a suggested alternative. I'd start by
searching your code for the case-sensetive 'Startdate'
-Rob
--
You received this message because you are subscribed to the Google Groups "Ru
uot;)), '/' , {:class => "logo"} %>
Actually, that's your ERB, not the HTML
Did you mean to have redundant () around the image_tag("logo.png")?
Also, that class is on the resulting tag, not the img so that might make a
difference if there's other C
.product_id %> | <%=
'Processing order' if cart.processing == 'true'%>
Also, why is cart.processing returning a string? (Or why are you testing the
value is 'true'?) It would be more natural to have cart.processing? be truthy.
-Rob
--
You received this messa
tion, but they are there in development
>> and they are on my github repo.
>>
>> Heroku logs are not very useful either. :(
>>
>> Any suggestions?
>
> Are you using capital letters in your table names? You're going to have to do
> some extra work
#text to return .sanitize'd strings:
class Answer
include ActionView::Helpers::SanitizeHelper
def text
sanitize
<http://apidock.com/rails/ActionView/Helpers/SanitizeHelper/sanitize>(read_attribute(:text),
tags: %w[sub sup])
end
end
I think that this will work, but I haven
Back to Rails!
https://github.com/rails/rails/issues/26726
TL;DR Adding a before/after_commit/rollback hook causes the parent not to
be touched when saving via nested attributes.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsub
found that as
soon as I commented out
has_paper_trail
the parent was being touched as expected!
I'll update once I look into it.
Rob
On Thursday, October 6, 2016 at 9:23:50 AM UTC-7, Rob Cameron wrote:
>
> I "discovered" some interesting functionality today. Let
ne blog post on the entire internet
that explicitly points out this
functionality:
http://www.software-thoughts.com/2014/03/rails-updating-association-through.html
The single comment on that post says "just use :touch => true" which is
what I assumed worked as well!
Rob
--
You rece
Hey! I’m working on a new book on Docker, aimed at Ruby/Rails devs.
I’d love to get some input from other developers who have heard about or
dabbled with Docker, but aren’t using it regularly. I’ve written a tiny
survey (literally only 1 question). I’d really appreciate it if you’d share
your t
n: @appointment.errors, status:
> :unprocessable_entity }
> else
> redirect_to root_path
> end #(end 4)
> end #(end 3)
> end #(end 2)
Where is "end 1"? Your indentation is hiding the problem from you as the
"unless..." isn'
#x27;s just a generated form.
As others have said, you'll need to do some Javascript (perhaps with a library
like jQuery) to get the value of a field at the time the link is clicked
without using a form.
-Rob
> in the controller I printed member_code to verify whats the value I'm
ebunk/dynamic_sitemaps/blob/master/lib/dynamic_sitemaps.rb
<https://github.com/lassebunk/dynamic_sitemaps/blob/master/lib/dynamic_sitemaps.rb>
seems to indicate that this is supported in the config file (config/sitemap.rb
by default) as:
protocol "https"
It doesn't get mu
's not likely
present unless someone introduced it.
At the very least, you could update rails to 2.3.18 (the last of its lineage).
In a Gemfile, that would be:
gem 'rails', '~> 2.3'
The `will_paginate` gem does not support Rails 4 (unless that has changed
som
ulations in model, is this right? Basically, model
> would consist of login, getDomainInfo and getContactInfo commands sent to our
> domain registrar EPP API.
>
> Thanks,
>
> --
Sounds like you might want to look at https://github.com/weppos/whois
<https://github.com/wep
I use send grid myself, good docs available on Heroku for this setup
- https://devcenter.heroku.com/articles/sendgrid
On Wednesday, February 24, 2016 at 10:39:00 PM UTC-8, VIDYA SAGAR POGIRI
wrote:
>
> Hi I deployed one small app in heroku built on ROR , now i want to send
> mails .How is it po
So in your _chart8 partial you are populating chart.series.data using the
proved startdate and enddate variables. You will want to change these
values when your ajax function returns data meaning you should first
persist your chart object instead of just creating it without assignment.
Somet
1 - 100 of 802 matches
Mail list logo