Hi,
On Wed, Feb 27, 2019, at 21:30, Don Bottles wrote:
> thanks @nanaya , i checked my gem list and found this;
>
> bundler (2.0.1, default: 1.17.2).
>
> any help??.
>
Check the last part of my previous message.
--
You received this message because you are subscribed to
Hi,
On Wed, Feb 27, 2019, at 20:42, Don Bottles wrote:
> HELLO, PLEASE I NEED HELP
> VERSIONS:
> ruby 2.6.1p33 (2019-01-30 revision 66950) [x64-mingw32]
> RAILS 5.2.2
>
Please avoid writing in all caps.
>
> when i run Rails server, this is what i get ::
> "You must use Bundler 2 or greater
On Wed, Mar 28, 2018, at 04:39, Brian Postow wrote:
> The rails guides are not references. They're tutorials.
>
> An example of the thing I'm having trouble with:
>
> I'm having things like "it says it's missing foo_bar_bazes" but
> "foo_bar_bazes" never occurs in my code, why does it think
Hi,
On Mon, Jan 29, 2018, at 23:51, Rob Jonson wrote:
>
> however - what concerns me is that the bug triggered an exception in
> production which was not caught in test.
>
> steps to trigger the bug are
>
> 1) create an account
> 2) log out
> 3) sign in
>
> I test this explicitly in an rspec
Hi,
On Sat, Dec 9, 2017, at 00:29, Muhammad Ibraheem wrote:
> Removing this line doesn't do anything and defaults to Old behavior.
>
Whoops sorry, I checked this on a 5.1 app which the option doesn't do
anything anymore.
--
You received this message because you are subscribed to the Google
Hi,
On Fri, Dec 8, 2017, at 16:55, Muhammad Ibraheem wrote:
>
>
> I have made config/initializers/callback_terminator.rb file with
> following
> code
>
>
> ActiveSupport.halt_callback_chains_on_return_false = false
>
>
You need to remove the whole line, not just setting it to false.
--
Hi,
On Sun, Jul 23, 2017, at 22:22, Ralph Shnelvar wrote:
> I don't know if what I am about to describe is a Rails, HTML, browser of
> some other issue.
>
> My problem: Sometimes the input fields of the following form are
> pre-filled
> with things I did not set ... like vales from a previous,
Hi,
On Sat, Apr 15, 2017, at 01:50, Joe Guerra wrote:
> ok, I've got it working but...
>
> <%= Product.where( ['id =?', iu.product_id ]).pluck("title") %>
>
>
> *It's got [' '] around my title.*
>
Short fix is you probably want `Product.find(iu.product_id).title`.
[' '] you're seeing is
Hi,
On Wed, Mar 29, 2017, at 02:37, tom wrote:
> hi,i am trying to use ror on a legacy system.
>
>
> model:
>belongs_to :ProvincialTaxAreaCode, class_name: "TaxArea", foreign_key:
> "ProvincialTaxAreaCode" #, primary_key: "ProvincialTaxAreaCode"
>
> ProvincialTaxAreaCode is a varchar(20)
>
Hi,
On Tue, Feb 21, 2017, at 14:54, honey ruby wrote:
> Hi all,
>
> Am trying to send email with yahoo mail but it is not working but, with
> gmail works fine can someone correct me if anything is wrong in my smtp.
>
>
> production:
> :address: smtp.yahoo.mail.com
the address should be
Hi,
On Sun, Feb 12, 2017, at 18:22, Aida Delic wrote:
>
>
> Hi [image: :)]
>
>
>
> I'm new to Rails. I'm trying to make an app where students can login in
> and
> signup for the exam. I have a problem filtering data, where a student can
> only see exams which belong to her/his year and
Hi,
On Sun, Feb 5, 2017, at 06:18, Denis K wrote:
> Hi,
>
> I'm new to Rails and going through "Getting Started with Rails"
>
> I've stuck in step 5.10:
> def create
> @article = Article.new(article_params)
> if @article.save
> redirect_to @article
> else
> render 'new'
> end
>
Hi,
On Sat, Feb 4, 2017, at 12:52, Joe Guerra wrote:
>
>
> I have the following code in my show.html.erb file, it calls the right
> method (or path).
>
> I am unsure how to pass variables from my product show.html.etb to my
> actual method...
>
>
>
> <%= button_to 'Add to Cart',
Hi,
On Mon, Dec 12, 2016, at 12:50, fugee ohu wrote:
> What's wrong with " gem 'rack', '2.0.1' " in my Gemfile ?
>
> Here's the error I get when I run bundle install:
>
> Bundler could not find compatible versions for gem "rack":
> In Gemfile:
> rack (= 2.0.1)
>
> rails (= 5.0.0.1)
Hi,
On Sun, Oct 16, 2016, at 22:34, kinoe - wrote:
> I'm assuming you want if
> @admin.save then a render or
> redirect afterwards.
> #correct,i assuming here i want input data to db with defference name.
> #means:if i have field name with value "cow" on db, i not want not have
> two "cow" name
Hi,
On Sat, Oct 15, 2016, at 22:10, Usman Shahid wrote:
> Actually these tables and models are dynamically added to the database,
> every addition requires creating a new model in the system which contains
> nothing but the table name. I'm trying to avoid that by creating a single
> model which
Hi,
On Sat, Jun 25, 2016, at 14:10, Brian Christian wrote:
> I wanted to submit a PR to Builder today (a dependency of ActionView and
> ActiveSupport), but I realized that the GitHub repository has not been
> updated in many years. Further research revealed the fact that the
> maintainer, Jim
Hi,
On Wed, Jun 22, 2016, at 18:12, Padmahas Bn wrote:
> Hello nanaya need some more help. In this web page I've member_code
> text_field and that value (membercode) has to be passed to different
> controllers which is done by more than one link_to helpers. Hence I can't
> prov
Hi,
On Wed, Jun 22, 2016, at 17:39, Padmahas Bn wrote:
> But when I check the value of member_code variable in the controller, it
> doesn't contain any value but the variable itself. As I told before, I've
> filled my text_field with the member code of 180. When I print
> member_code
> in
Hi,
On Wed, Jun 22, 2016, at 17:20, Padmahas Bn wrote:
> <%= link_to "Joint and Personal loan (Ajax not implemented)",
> jlpl_prints_path(member_code: 'member_code'), :class => "btn btn-danger",
> method: :post %>
>
The path includes a `member_code: 'member_code'` parameter and thus
passed to
Hi,
On Fri, Jun 17, 2016, at 16:01, prince nihith wrote:
> i dont see any error but, still when i run rails server it is showing the
> error There was an error while trying to load the gem 'uglifier'
> C:\Ruby21-x64\rails\firstapp>bundle install
You should post the complete error instead of
Hi
On Sun, Jun 12, 2016, at 16:03, David Alejandro wrote:
> I have this link in the view:
>
>
> <%= link_to "Pay in PayPal", @order.paypal_url(edit_order_url,
> payment_notification_url), class: "btn btn-success" %>
>
>
> And this in the model:
>
>
> class Order <
Hi
On Sun, Jun 12, 2016, at 01:51, Rynn Steinbolt wrote:
> im currently trying to implement a form with several buttons, and my
> solution for that was to make a full form for each of the 5 buttons.
> thats extremely repetitive, so i wanted to generate the forms with a
> helper function that i
Hi
On Sat, Jun 4, 2016, at 04:16, Rynn Steinbolt wrote:
> Hello Folks!
>
> Im stuck with my current task, partly because there seems to be a lack
> of basic understanding of syntax i cant pinpoint. I hope you can show me
> a way out!
>
> What Im trying to do is processing one model's data, thus
Hi,
On Sun, May 29, 2016, at 09:36, Graham Menhennitt wrote:
> I'm trying to install rails 5. I've tried both beta4 and rc1, but both
> fail
> with the same problem - installing the turbolinks gem. There seem to be a
> number of versions of the gem on RubyGems beta1 - beta4. There also seems
>
Hi,
On Thu, May 19, 2016, at 20:10, Johnny Stewart wrote:
> Hi Fred,
>
> @comments is a collection of comments on a status
>
If it's called from status (model?) using has_many, you need to define
foreign key in it.
--
You received this message because you are subscribed to the Google Groups
Hi
On Thu, May 19, 2016, at 19:21, Johnny Stewart wrote:
> I have changed the primary key on a table “statuses” to now be
> entity_id
>
> In my status model I have:
>
> self.primary_key = 'entity_id'
>
> when I try to render a collection of comments associated with a status
> like so:
>
>
Hi,
On Sun, May 8, 2016, at 20:01, Johnny Stewart wrote:
> I have a model where I want a few specific choices for a dropdown to set
> a variable, very much like this:
>
> http://stackoverflow.com/questions/14113057/how-to...
>
> I'm trying to work out why all the answers to this question
Hi,
On Mon, Apr 25, 2016, at 14:54, ishant kumar wrote:
> my operating system is: windows 7 and my rails version is: 4.2.5.1 and
> ruby is: ruby 2.1.8p440 (2015-12-16 revision 53160) [i386-mingw32]
> whenever i installed nodejs on system this error shows:
>
> D:\rubyproject>gem install nodejs
Hi,
On Thu, Mar 24, 2016, at 03:39, Roman P wrote:
> I am using a form partial for updating and creating my users.
> Like:
> <%= form_for @user do |f| %>
> Now rails automatically assigns the method post if the form corresponds
> with a nonexistent user and the patch method if the user exists
Hi,
On Wed, Mar 23, 2016, at 03:52, Aman Aman wrote:
> I have just installed ruby on rails on my window. and I was going
> through tutorials in
> http://guides.rubyonrails.org/v4.2/getting_started.html and I am getting
> this error (ExecJS::ProgramError in Articles#index ) So I just removed
> the
Hi,
On Sat, Mar 12, 2016, at 09:49, Donald Ziesig wrote:
> Hi All!
>
> I am trying to get a rails postgres table ordered by the exact values of
> the ascii characters such that:
>
>
> Alpha
> Bravo
> Charlie
> ...
>
> Unfortunately, even when I try to escape the < characters and enter them
Hi,
On Wed, Mar 9, 2016, at 01:02, Hassan Schroeder wrote:
> On Tue, Mar 8, 2016 at 7:48 AM, Colin Law wrote:
>
> > Which implies that when I do not specify the path it is using a
> > different version of echo.
>
> It is - google "bash builtin commands" (assuming you're
Hi
On Tue, Mar 1, 2016, at 07:44, fugee ohu wrote:
> In my view:
>
> data-gallery ><%= image_tag(task.name.thumb) %>
>
I don't know if it's typo in your mail or you just don't notice but
this:
will have an empty data-description attribute because there are spaces
between the equal sign so
Hi
On Mon, Feb 29, 2016, at 18:39, fugee ohu wrote:
> Using require statements in application.js should reference files located
> where?
> //= require bootstrap-sprockets
> where is bootstrap-sprockets supposed to be located?
>
Any of directories in `config.assets.paths`. (can be checked with
Sorry, wrong link.
On Fri, Feb 5, 2016, at 15:33, nanaya wrote:
> It's already doing exactly that. Check the respond_to[1] line at the top
> of the controller and the corresponding views[2].
>
> [1]
> http://api.rubyonrails.org/classes/ActionController/MimeResponds.html#meth
Hi,
On Fri, Feb 5, 2016, at 14:49, fugee ohu wrote:
>
> The controller
> https://github.com/sudharti/socify/blob/master/app/controllers/likes_controller.rb
>
> doesn't respond with any rendering I don't wanna redirect I just wanna
> change the like button to the unlike button so how would
Hi,
On Fri, Feb 5, 2016, at 00:30, John Sanderbeck wrote:
> I am new to Rails and Ruby and am having a difficult time building the
> data needed for a Highchart. I am struggling with the syntax to map a
> pair of hashes to an array. Let me try and explain:
>
> I have a table of "initiatives"
On Fri, Feb 5, 2016, at 00:50, Colin Law wrote:
> You don't need the first two lines, you just need something like
> Initiative.all.map {|initiative| [initiative.name,
> initiative.trainings.count] }
>
That'll be slow. The alternative is to include `:trainings` but then
it'll transfer a bunch
Hi,
On Thu, Feb 4, 2016, at 04:53, fugee ohu wrote:
> >
> > https://github.com/sudharti/socify/blob/master/app/views/shared/_actions.html.erb
> >
> >
>
> Yikes, what does this mean? <%= render 'likes/form', likeable: resource
> %>
>
it means you need to read documentation:
Hi,
On Wed, Feb 3, 2016, at 17:35, fugee ohu wrote:
> i'm trying to follow this tutorial
> https://medium.com/rails-ember-beyond/how-to-build-a-social-network-using-rails-eb31da569233#.cdojrtwvg
>
> but on line 1 of _form.html.erb for likes the author says <% if
> current_user.liked?
On Tue, Jan 26, 2016, at 07:13, Benyamin Pm wrote:
> Scott Eisenberg wrote in post #1180887:
> > How about giving us the output of bundle list? Or at the very least
> > bundle list pg?
> >
> > PS If you see pg listed there you’re gonna have to give more information
> > like the stacktrace,
Hi,
On Fri, Jan 22, 2016, at 19:20, fugee ohu wrote:
> On Friday, January 22, 2016 at 5:16:55 AM UTC-5, Colin Law wrote:
> >
> > On 22 January 2016 at 04:16, fugee ohu
> > wrote:
> > > This form raises undefined method `pictures_path' for
> > > #<#:0xbb9cb4c>
> > >
> > >
On Thu, Jan 21, 2016, at 17:53, Matti Ezzat wrote:
> Hi everyone, I am trying to get a multiple check_box_tag but when I am
> checking all the boxes I only got the last check as a result, below are
> my codeswhat I want is what I check should be in the show the
> checked only..
>
> I also
On Thu, Jan 21, 2016, at 18:15, Matti Ezzat wrote:
> I did and now I am getting no results its empty even if I check one box
>
if it uses strong parameter, you need to permit array. Otherwise, check
what the console says about the input or what browser sends to server.
--
You received this
On Mon, Jan 18, 2016, at 12:00, Mustaq Pradhan wrote:
> I am trying Ruby on Rails for the first time and following the page at
> http://guides.rubyonrails.org/getting_started.html.
>
> I think I have done kind of ok with the installation and got to the
> "Welcome aboard" page. But the Say
Hi
On Sun, Jan 17, 2016, at 01:29, R Bruce Bicknell wrote:
> I've just started messing around with Rails 5.0.0.beta1 and in diffing
> around, I've noticed that sass-rails is not in the Gemfile.
>
> Has it been omitted for a reason?
>
it's a (fixed) bug[1]
[1]
On Thu, Jan 14, 2016, at 21:01, Shabbir Ahmed wrote:
> Hi all, How to use company_name on the url instead of company_id.
>
This should help.
http://api.rubyonrails.org/classes/ActiveRecord/Integration/ClassMethods.html#method-i-to_param
--
You received this message because you are
On Fri, Dec 25, 2015, at 16:16, fugee ohu wrote:
> how does rails know if it should submit a form to update or create? the
> form is rendered by either new or edit so on submission how does rails
> know
> which action originally rendered the form?
>
by checking the value returned by
Hi
On Fri, Dec 18, 2015, at 07:54, Thanh Tran wrote:
>
> 1) Where do I put " require 'bandsintown' "?
>
you don't, bundler will do that for you if you put 'gem "bandsintown"'
in Gemfile (as how it should be done).
>
> 2) I use
>
> @venues = Bandsintown::Venue.search({
> :query =>
On Tue, Dec 15, 2015, at 22:13, jeli...@gmail.com wrote:
> This takes away from the OPs original request. I've not heard that most
> people have image download turned off but ok.
>
quite sure it's off by default in many clients. I personally almost
never turn on (remote) images on email.
> I
Hi,
On Mon, Dec 7, 2015, at 08:27, fugee ohu wrote:
> I changed
> src: url(/assets/fonts/ufonts.com_
> metrolis-negro-opentype.otf) format("truetype");
> to
> src: font-url(/assets/fonts/ufonts.com_
> metrolis-negro-opentype.otf) format("truetype");
> and that got me a syntax error expected ")"
On Fri, Dec 4, 2015, at 01:12, Frederick Cheung wrote:
>
> I don't really bother with it. There's a new ruby upgrade every couple of
> months & so my gem collection starts afresh each time I update ruby (& I
> am
> fortunate in that I only ever really use one ruby version at a time)
>
> Fred
53 matches
Mail list logo