Re: [Rails] Why doesn't anyone answer my question am i blacklisted?

2018-09-29 Thread Ralph Shnelvar
Title: Re: [Rails] Why doesn't anyone answer my question am i blacklisted? fugee, (a) Perhaps no one knows the answer. (b) It's a weekend. Ralph Saturday, September 29, 2018, 10:10:53 PM, you wrote: Why doesn't anyone answer my question am i blacklisted? -- You received this message

[Rails] Bpptstrap media inquiry: Where does it go?

2018-08-27 Thread Ralph Shnelvar
-button etc. @import "ralph"; // Shnelvar //   See https://stackoverflow.com/questions/33404154/bootstrap-change-the-navbar-font-size //   See https://teamtreehouse.com/community/how-do-you-change-the-bootstrap-font-style .nav a{    color: white !important;    // font-size: 3.8em !i

[Rails] menu navigation gem for Rails 5?

2018-08-19 Thread Ralph Shnelvar
/simple-navigation/wiki I see compliance with Ruby 2.2.1 and Rails 4.2 Anyone know if my environment is compatible with with simple-navigation? Is there a menu navigation system people prefer for Rails 5? Ralph Shnelvar -- You received this message because you are subscribed to the Google Groups

Re: [Rails] Best OS for production self hosting

2018-08-05 Thread Ralph Shnelvar
Title: Re: [Rails] Best OS for production self hosting fugee, My suggestion is to use an OS with a lot (most) of people using it. I use Ubuntu because I find it has a lot of support. I don't know if Ubuntu is the most popular variant of Unix. Ralph Saturday, August 4, 2018, 7:15:28 PM, you

[Rails] Usage of ~ (tilde) changed in Ruby or Rails?

2018-08-02 Thread Ralph Shnelvar
to get tilde to work? Ralph Shnelvar -- 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

Re: [Rails] Need guidance on an inline editing design

2018-08-01 Thread Ralph Shnelvar
Title: Re: [Rails] Need guidance on an inline editing design John, This is an add-on to David Merrick's answer. Since this is for a school class, it's unlikely to have more than, say, 50 students. Your database query could bring in up to 50 students and then you could build a view with

[Rails] OT: Ok to offer money for an answer?

2018-07-10 Thread Ralph Shnelvar
Title: OT: Ok to offer money for an answer? Friends, Since I don't want to upset folks ... I have a Rails/Apache/Router/DDNS question I have been working on for a couple of days and not making any headway. Is it ok to offer money for an answer here? Ralph Shnelvar -- You received

Re: [Rails] Continuing in Rails Console

2018-07-09 Thread Ralph Shnelvar
execution before Rails loads so that one can attempt to debug initialization. Ralph Monday, July 9, 2018, 10:02:19 AM, you wrote: On 9 July 2018 at 16:46, Ralph Shnelvar <ral...@dos32.com> wrote: ... I am still at a loss how to continue execution at the irb prompt. If you tell

[Rails] I'm seeing an unexpected environment variable dump

2018-07-09 Thread Ralph Shnelvar
that this application needs. To install your gems, please run: I was surprised to see a dump of my environment variables!  I thought a dump of environment variables had been turned off for security reasons since some apps stored passwords and encryption keys in environment variables. Comments, please. Ralph

Re: [Rails] Continuing in Rails Console

2018-07-09 Thread Ralph Shnelvar
:0> I am still at a loss how to continue execution at the irb prompt. Ralph Monday, July 9, 2018, 9:04:15 AM, you wrote: HS> On Mon, Jul 9, 2018 at 6:54 AM, Ralph Shnelvar <ral...@dos32.com> wrote: >> From an Ubuntu command prompt I write >>  rails c >> and I get

[Rails] OT: Rails and DDNS

2018-07-09 Thread Ralph Shnelvar
have the answer to how to get the ASUS router to work, that would be even better. Ralph Shnelvar -- 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, sen

[Rails] Continuing in Rails Console

2018-07-09 Thread Ralph Shnelvar
 gem 'capybara', '>= 2.15', '< 4.0'  gem 'selenium-webdriver'  # Easy installation and use of chromedriver to run system tests with Chrome  gem 'chromedriver-helper' end # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem 'tzinfo-data', platforms: [:mingw, :m

Re: [Rails] OT: Two or more Rails Apps & Apache

2018-07-07 Thread Ralph Shnelvar
;It loads all config at initialization" So, to confirm, it does load all the *.conf files? Ralph Saturday, July 7, 2018, 3:08:28 PM, you wrote: HS> On Sat, Jul 7, 2018 at 1:12 PM, Ralph Shnelvar <ral...@dos32.com> wrote: >> I start Apache via ... >>  sudo apache2ctl

Re: [Rails] OT: Two or more Rails Apps & Apache

2018-07-07 Thread Ralph Shnelvar
does it know which .conf file to look at? Ralph Saturday, July 7, 2018, 2:01:08 PM, you wrote: HS> On Sat, Jul 7, 2018 at 12:10 PM, Ralph Shnelvar <ral...@dos32.com> wrote: >> I don't think I am using anything but Apache and Rails. >> How can I tell? HS> How do you s

Re: [Rails] OT: Two or more Rails Apps & Apache

2018-07-07 Thread Ralph Shnelvar
bled with "a2disconf".        #Include conf-available/serve-cgi-bin.conf # vim: syntax=apache ts=4 sw=4 sts=4 sr noet Ralph Saturday, July 7, 2018, 11:41:24 AM, you wrote: HS> On Sat, Jul 7, 2018 at 10:22 AM, Ralph Shnelvar <ral...@dos32.com> wrote: >> I'm not sure

Re: [Rails] OT: Two or more Rails Apps & Apache

2018-07-07 Thread Ralph Shnelvar
NotWorkYet.com. Ralph Saturday, July 7, 2018, 10:23:13 AM, you wrote: HS> On Sat, Jul 7, 2018 at 9:08 AM, Ralph Shnelvar <ral...@dos32.com> wrote: >> Right now I'm clueless how to run two Rails apps in an Apache environment. HS> How are you running the one app via httpd now? HS&

[Rails] OT: Two or more Rails Apps & Apache

2018-07-07 Thread Ralph Shnelvar
sion: Apache/2.4.18 (Ubuntu) Server built:   2018-04-18T14:53:04 Right now I'm clueless how to run two Rails apps in an Apache environment. A Google search doesn't seem to turn up much that is useful. Anyone know a good place to find that information or ask the question? Ralph Shnelvar --

Re: [Rails] [job] Looking for Rails freelance developers

2018-06-19 Thread Ralph Shnelvar
Title: Re: [Rails] [job] Looking for Rails freelance developers Karthikeyan, Where should resumes be sent? Ralph Monday, June 18, 2018, 10:44:34 PM, you wrote: Hello All, One of the startups I am coding for is expanding. We are looking for freelance Ruby on Rails backend developers who

[Rails] OT: Good places to look for remote Rails contract jobs?

2018-06-06 Thread Ralph Shnelvar
://www.reddit.com/r/railsjobs/ etc. What, though, do you guys recommend? Ralph Shnelvar 303-912-9356 -- 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, sen

Re: [Rails] newbie: copy file from github to local directory?

2018-06-05 Thread Ralph Shnelvar
Title: Re: [Rails] newbie: copy file from github to local directory? Jason, I am not aware of any Rails/Ruby-native facility to download stuff from github. As has been stated elseelse - and I will paraphrase - just use github-native commands. Ralph Tuesday, June 5, 2018, 2:14:49 PM, you

Re: [Rails] BrainTree dropin ui

2018-05-05 Thread Ralph Shnelvar
Title: Re: [Rails] BrainTree dropin ui fugee, Did you set up your Braintree (sandbox) account? Ralph Saturday, May 5, 2018, 10:43:18 AM, you wrote: BrainTree docs say to use this example but when I click "Purchase" nothing happens "en">      "UTF-8">    Checkout        

Re: [Rails] Rails & Postgres sandbox

2018-04-14 Thread Ralph Shnelvar
On Sat, Apr 14, 2018 at 12:28 PM, Ralph Shnelvar <ral...@dos32.com> wrote: >> I have a collection of Postgres tables I want my users to be able to access >> (share)but not modify on my Rails website .  I want each of them to be able >> to extract data from the tabl

[Rails] Rails & Postgres sandbox

2018-04-14 Thread Ralph Shnelvar
ract with other users' extracted data. I have Devise working to give access to each separate user but now I need/want suggestions as to how to link a Devise authorized user with a correspondingly named Postgres user. Suggestions would be appreciated. Ralph Shnelvar -- You received this mes

Re: [Rails] Re: Secrets decryption error appeared (ActiveSupport::MessageEncryptor::InvalidMessage)

2018-04-13 Thread Ralph Shnelvar
Title: Re: [Rails] Re: Secrets decryption error appeared (ActiveSupport::MessageEncryptor::InvalidMessage) Thomas, Could you point me at documentation about credentials v. encrypted secrets, please? Ralph Friday, April 13, 2018, 4:13:35 AM, you wrote: Let's ditch encrypted secrets.  

[Rails] Send pdf on serfer to client printer?

2018-04-06 Thread Ralph Shnelvar
 ... but not how to print to a physical printer (via the standard system dialogs) an invoice or ticket the way many websites do. Ralph Shnelvar -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiv

Re: [Rails] strftime

2018-03-21 Thread Ralph Shnelvar
Title: Re: [Rails] strftime fugee, See https://www.tutorialspoint.com/ruby/ruby_date_time.htm  for examples. Ralph Wednesday, March 21, 2018, 4:01:39 AM, you wrote: How do i apply strftime to a date and save it to a variable as a string? I get errors like undefined method `strftime'

Re: [Rails] A truly default route

2018-02-22 Thread Ralph Shnelvar
actly what you asked for, but it's fairly close. WLD> Walter >> On Feb 22, 2018, at 6:21 PM, Ralph Shnelvar <ral...@dos32.com> wrote: >> What would routes.rb look like if I want EVERYTHING to go to a controller action called, hmm, 'everything' in static_pages.rb? >

[Rails] A truly default route

2018-02-22 Thread Ralph Shnelvar
Title: A truly default route What would routes.rb look like if I want EVERYTHING to go to a controller action called, hmm, 'everything' in static_pages.rb? Ralph Shnelvar -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk&q

Re: [Rails] Telling users there is maintenance happening

2018-02-22 Thread Ralph Shnelvar
that there is a Rails.application.reload_routes! So, clearly, I don't understand how routes.rb works. Is routes building a very expensive process to be done infrequently? Ralph Shnelvar On Thursday, February 22, 2018 at 8:51:18 AM UTC-7, Walter Lee Davis wrote: > > I have used this route in the past to do this in an in

[Rails] Telling users there is maintenance happening

2018-02-22 Thread Ralph Shnelvar
then flip back when maintenance is complete? I suspect it has something to do with routes.rb but I would love some guidance. Ralph Shnelvar Rubyonrails-talk friends, I'm not sure where to post this question. I have two computers.  Both have been set up as Rails servers although I only have one

[Rails] Telling users there is maintenance happening; Two servers

2018-02-21 Thread Ralph Shnelvar
der maintenance" web page? I know there are lots of cute "Under maintenance" web pages "out there."  Is there a preferred one for Rails servers? As an aside.  Assume Servers X and Y are both running and serving up the same static web pages.  Is there anything wrong with t

Re: [Rails] multi-tenancy

2018-01-21 Thread Ralph Shnelvar
Title: Re: [Rails] multi-tenancy Sunday, January 21, 2018, 5:28:17 PM, you wrote: >> On Jan 20, 2018, at 10:44 PM, fugee ohu wrote: >> is multitenancy only for apps that have users? WLD> Maybe. It depends on how you define it. Think about Basecamp for WLD> an example.

Re: [Rails] I can't set the title of a page no matter what I have tried to put in my .html.erb file

2018-01-13 Thread Ralph Shnelvar
.  If I remember correctly, most browsers will ignore misplaced head tags. Rails will not look at the rendered text and say, "Oh my, Robert put in a head section.  Let me move it immediately after the HTML tag." Ralph Shnelvar Saturday, January 13, 2018, 5:18:23 PM, you wrote: I

[Rails] Unsubscribe: Best practices

2018-01-10 Thread Ralph Shnelvar
I have a mailing list in a Postgres database and I want to give my users the ability to unsubscribe from mailings. I wish to send out emails with a link to an RoR website to handle the unsubscribe. Is there a document anywhere that describes how to do this properly? That is, what the link in

[Rails] PGconn.connect .... where is disconnect?

2017-08-15 Thread Ralph Shnelvar
I may have a large group of (Devise) users each of whom is a separate Postgres user, e.g. SomePostgresRole01, SomePostgresRole02, etc. I can successfully do: conn = PGconn.connect("localhost", 5432,"","","db_development","SomePostgresRole01","SomePassword") I cannot find a

Re: [Rails] Who is causing a partial to be rendered?

2017-07-27 Thread Ralph Shnelvar
> On Jul 26, 2017, at 8:58 PM, Ralph Shnelvar <ral...@dos32.com > > wrote: > > > > Is the a convenient programatic way for a partial to know what view > (controller?) is causing it to be rendered? > > > > For debugging purposes I want the partial

[Rails] Who is causing a partial to be rendered?

2017-07-26 Thread Ralph Shnelvar
Is the a convenient programatic way for a partial to know what view (controller?) is causing it to be rendered? For debugging purposes I want the partial to render the name of the view causing the partial to be rendered.. Ralph -- You received this message because you are subscribed to the

Re: [Rails] Devise's helper - confirmation_url(@resource, confirmation_token: @token) - returns localhost3000

2017-07-26 Thread Ralph Shnelvar
Hassan: 1) Does Passenger dump that sensitive data in development? 2 How hard is it to remove Passenger? What are the downsides to removing it? Ralph On Wednesday, July 26, 2017 at 11:29:28 AM UTC-6, Hassan Schroeder wrote: > > On Wed, Jul 26, 2017 at 7:57 AM, Ralph Shnelvar <ral

Re: [Rails] Devise's helper - confirmation_url(@resource, confirmation_token: @token) - returns localhost3000

2017-07-26 Thread Ralph Shnelvar
lph On Wednesday, July 26, 2017 at 7:16:39 AM UTC-6, Hassan Schroeder wrote: > > On Wed, Jul 26, 2017 at 2:53 AM, Ralph Shnelvar <ral...@dos32.com > > wrote: > > >> First, "Apache" is the name of an organization; "Apache httpd" is a > &

Re: [Rails] Devise's helper - confirmation_url(@resource, confirmation_token: @token) - returns localhost3000

2017-07-26 Thread Ralph Shnelvar
ersion of Rails (2.3) ENV["SERVER_SOFTWARE"] contains > "Apache" when I am running with Passenger. Do not know about later > versions. > > Norm > > On 07/25/2017 12:00 PM, Hassan Schroeder wrote: > > On Tue, Jul 25, 2017 at 11:40 AM, Ralph Shnelv

Re: [Rails] Devise's helper - confirmation_url(@resource, confirmation_token: @token) - returns localhost3000

2017-07-26 Thread Ralph Shnelvar
Hassan, Comments interspersed. And, again, thank you. Ralph On Tuesday, July 25, 2017 at 2:42:17 PM UTC-6, Hassan Schroeder wrote: > > On Tue, Jul 25, 2017 at 12:19 PM, Ralph Shnelvar <ral...@dos32.com > > wrote: > > > So what is the correct phrase for knowing w

Re: [Rails] Devise's helper - confirmation_url(@resource, confirmation_token: @token) - returns localhost3000

2017-07-25 Thread Ralph Shnelvar
Title: Re: [Rails] Devise's helper - confirmation_url(@resource, confirmation_token: @token) - returns localhost3000 Hassan, My comments interspersed. And thank you for your quick reply. Ralph Tuesday, July 25, 2017, 1:00:16 PM, you wrote: HS> On Tue, Jul 25, 2017 at 11:40 AM, Ra

[Rails] Devise's helper - confirmation_url(@resource, confirmation_token: @token) - returns localhost3000

2017-07-25 Thread Ralph Shnelvar
My question: Is there a way for Rails to know if it is running under Apache or under Webrick? Background: I run my Rails website in two environments 1) Under webrick 2) Under Apache I am "successfully" sending email when I want my registering user to confirm the user's identity. Devise

[Rails] db/migrate/YYYYMMDDxxx_add_confirmable_to_devise.rb

2017-07-23 Thread Ralph Shnelvar
So I'm following along in https://github.com/plataformatec/devise/wiki/How-To:-Add-:confirmable-to-Users when I get to Create a New Migration I'll recreate the migration they recommend here. class AddConfirmableToDevise < ActiveRecord::Migration # Note: You can't use change, as

Re: [Rails] Rails issue? HTML issue? Browser issue?

2017-07-23 Thread Ralph Shnelvar
Title: Re: [Rails] Rails issue? HTML issue? Browser issue? nanaya, Sunday, July 23, 2017, 1:54:33 PM, you wrote: n> Hi, n> 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 iss

[Rails] Rails issue? HTML issue? Browser issue?

2017-07-23 Thread Ralph Shnelvar
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, uh, filling. Here's my .erb code taken - more-or-less - from

[Rails] Where does Devise validate authorization? How to use byebug?

2017-07-17 Thread Ralph Shnelvar
I have been trying to find where Devise makes the decision to allow a user to be authorized. I'm pretty sure (but not certain) this is where Devise ,creates authenticate_user!, user_signed_in?, current_user, and user_session .

[Rails] Best place to store secret keys in Rails

2017-07-17 Thread Ralph Shnelvar
If my code will not be shared, and My Rails app is on my own server, then Does it make a difference if the secret keys are in environment variables or ~/config/secrets.yml ? Ralph -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To

[Rails] Re: Help with gestalt of Pundit's authorize, please

2017-07-17 Thread Ralph Shnelvar
While I'm at it ... In authorize(@post) WHAT is being "authorize-d"? The @post ? The current_user ? The controller action ? Something else ? Ralph On Monday, July 17, 2017 at 1:02:11 AM UTC-6, Ralph Shnelvar wrote: > > The best explanation I have found for the g

[Rails] Help with gestalt of Pundit's authorize, please

2017-07-17 Thread Ralph Shnelvar
The best explanation I have found for the gestalt of Pundit is https://www.varvet.com/blog/simple-authorization-in-ruby-on-rails-apps/ And yet ... I don't get it. I can understand each statement in https://www.varvet.com/blog/simple-authorization-in-ruby-on-rails-apps/ ... but when I get to

[Rails] "output" name collission with RSpec::Matchers::BuiltIn::Output

2017-07-16 Thread Ralph Shnelvar
I'm following along in *The RSpec Book* on page 43 The book is careful to specify all the version of the gems it uses. My problem is likely I am using current gems. The code I downloaded looks like this #--- # Excerpted from "The RSpec Book", #

Re: [Rails] Rspec: expect(response).to have one of several valid values

2017-07-15 Thread Ralph Shnelvar
Very close! expect([200, 302]).to include response.status Thank you so much! Your suggestion gave me a whole new understanding of Rspec Ralph On Saturday, July 15, 2017 at 7:48:49 PM UTC-6, Dave Aronson wrote: > > On Saturday, July 15, 2017, Ralph Shnelvar <ral...@dos32.com> wro

[Rails] Rspec: expect(response).to have one of several valid values

2017-07-15 Thread Ralph Shnelvar
I'm a novice at Rspec. Let's say I have expect(response).to have_http_status(200) But what I want is to say that either 200 or 302 is valid. How would I do that? Assume (byebug) response.status 302 I've tried expect(response).to (have_http_status(200) || have_http_status(302)) While

[Rails] Pundit causes 302

2017-07-15 Thread Ralph Shnelvar
This is a continuation of Rspec. Is 302 a success? Why 302? https://groups.google.com/forum/#!topic/rubyonrails-talk/Merk1uUyhyc Setting up the relevant code In config/routes.rb I have Rails.application.routes.draw do resources :sql_statements resources :articles devise_for :users

[Rails] Pundit causes 3022

2017-07-15 Thread Ralph Shnelvar
This is a continuation of Rspec. Is 302 a success? Why 302? https://groups.google.com/forum/#!topic/rubyonrails-talk/Merk1uUyhyc Setting up the relevant code In config/routes.rb I have Rails.application.routes.draw do resources :sql_statements resources :articles devise_for :users

[Rails] How to find where be_success is defined

2017-07-14 Thread Ralph Shnelvar
So this is both a specific and a general question Specific question: I am trying to find where be_success is defined. In Ubuntu, I used DoubleCmd (a clone of Window's wonderful Total Commander) to scan for be_success without, uh, success. That's the specific question. I can see the following

[Rails] Rspec. Is 302 a success? Why 302?

2017-07-14 Thread Ralph Shnelvar
I have the following code, which was automagically created, in ~/controllers/articles_controller_spec.rb describe "GET #new" do it "returns a success response" do # See Hassan's answer in # https://groups.google.com/forum/#!topic/rubyonrails-talk/OQIYz9mnBXU byebug

[Rails] Re: Rspec. assert_select deprecated?

2017-07-14 Thread Ralph Shnelvar
On Friday, July 14, 2017 at 9:58:56 AM UTC+1, Ralph Shnelvar wrote: >> >> So is it deprecated? What's it replaced by? Where can I find >> documentation? >> >> > apidock things things are deprecated when they move - it doesn't know it > was extracted into the ra

[Rails] Rspec. assert_select deprecated?

2017-07-14 Thread Ralph Shnelvar
In https://apidock.com/rails/ActionController/Assertions/SelectorAssertions/assert_select I see that assert_select was deprecated. Yes, when I run rails generate scaffold SqlStatement \ title:text{120} \ description:text \ sql_stmt:text I find the following code generated in

[Rails] Class variables and Rails ... how global? When initialized? Thread safety?

2017-07-14 Thread Ralph Shnelvar
I'm trying to understand something basic about Rails (and Apache). This is a follow-up to Matt Jones' answer in https://groups.google.com/forum/#!topic/rubyonrails-talk/y6ktv7rL6IA I repeat his answer here > I suspect `User.exists?` is going to be the lightest possible option. > `User.count

[Rails] Rails, Postgres, environment variables, Ubuntu, no PL/R

2017-07-12 Thread Ralph Shnelvar
This may be more of a Postgres question than a Rails or Ruby question but ... since I want to do this in a Rails environment ... I store my Postgres password in an environment variable whose name is a long randomly generated string in the appropriate format for an Ubuntu environment variable

Re: [Rails] Re: One database and several users with different access rights

2017-07-12 Thread Ralph Shnelvar
What's the convention here: top posting or bottom posting? Ralph On Wednesday, July 12, 2017 at 7:52:06 AM UTC-6, Hassan Schroeder wrote: > > On Wed, Jul 12, 2017 at 6:33 AM, Ralph Shnelvar <ral...@dos32.com > > wrote: > > > I _think_ I need to do so

[Rails] Re: One database and several users with different access rights

2017-07-12 Thread Ralph Shnelvar
are how you did the "give each RoR user the ability to write > their own SQL statements "? I may want to do the same. > > > > On Tuesday, July 11, 2017 at 11:39:13 PM UTC-4, Ralph Shnelvar wrote: >> >> I have a database with a large table. >> >> I h

[Rails] One database and several users with different access rights

2017-07-11 Thread Ralph Shnelvar
I have a database with a large table. I have several users each of whom should have read-only rights to the large table but has read/wrtie rights to their own table(s) but not to each others table(s). Adding to the complication, I want to give each RoR user the ability to write their own SQL

[Rails] Prime user table for the first user

2017-07-11 Thread Ralph Shnelvar
Let's say I expect to have a billion users in my Postgres users table. I want to make sure the first user gets to set it's role attribute to enum :admin as the default when the record is created and all other users are enum :user. Of course a billion users is ridiculous. I'm just trying to

[Rails] Rspec =begin =end

2017-07-11 Thread Ralph Shnelvar
In a file named spec/spec_helper.rb I see # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration RSpec.configure do |config| # The settings below are suggested to provide a good initial experience # with RSpec, but feel free to customize to your heart's content. =begin # These two

[Rails] Re: What generates articles_index_path ?

2017-07-10 Thread Ralph Shnelvar
I'm going to try to answer my own question. I tracked down this answer: https://stackoverflow.com/questions/23819312/rails-undefined-method-user-index-pathEnter code here. The most important sentence tompave wrote in

[Rails] Rspec =begin =end

2017-07-10 Thread Ralph Shnelvar
Title: Rspec =begin =end I don't know if this is a Rails, Ruby, or Rspec question. In a file named spec/spec_helper.rb I have RSpec.configure do |config| # The settings below are suggested to provide a good initial experience # with RSpec, but feel free to customize to your heart's content.

[Rails] What generates articles_index_path ?

2017-07-10 Thread Ralph Shnelvar
Title: What generates articles_index_path ? I am porting some Rails 4 code to Rails 5 and I hit the following problem when using  Rspec:  articles_index_path  is undefined. routes.rb Rails.application.routes.draw do  devise_for :users  root 'static_pages#root'  resources :users  resources

Re: [Rails] Rspec failure with :get. :get documentation?

2017-07-09 Thread Ralph Shnelvar
Thank you so much, Hassan. I didn't see any warnings. Is there documentation I can look at that explains what "get" does? Ralph On Sunday, July 9, 2017 at 9:34:25 AM UTC-6, Hassan Schroeder wrote: > > On Sat, Jul 8, 2017 at 11:26 PM, Ralph Shnelvar <ral...@dos32.com &g

[Rails] Rspec failure with :get. :get documentation?

2017-07-09 Thread Ralph Shnelvar
Title: Rspec failure with :get. :get documentation? I'm trying to simultaneously learn Rspec as well as implement a Rails app.  I am a complete Rspec novice. I'm converting some code from Rails 4 to Rails 5.1.1 so that may be where the following problems lies. Part of the Rspec messages I'm

[Rails] Re: How to trace a html button non-event? (Rails Authorization With Pundit)

2017-07-07 Thread Ralph Shnelvar
On Tuesday, July 4, 2017 at 11:51:46 PM UTC-6, Ralph Shnelvar wrote: > > This is my first post here. Comments on style, etc., are appreciated. > > An answer is even more appreciated. > > This is a continuation of my question at > https://stackoverflow.com/questions/44856528/how-to-tr

[Rails] Does application.rb interact with bundle update?

2017-07-07 Thread Ralph Shnelvar
. Hence the question in the subject line: Does application.rb interact with bundle update? Ralph Shnelvar -- 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, sen

Re: [Rails] Ruby on Rails Talk: Moderated?

2017-07-05 Thread Ralph Shnelvar
56 AM, you wrote: WLD> Not that I'm aware of. What was the subject line of your topic? WLD> Did you post by mail or using the Google Groups Web interface? WLD> Walter >> On Jul 4, 2017, at 9:39 PM, Ralph Shnelvar <ral...@dos32.com> wrote: >> Is Ruby on Rails Talk moderated

[Rails] Ruby on Rails Talk: Moderated?

2017-07-04 Thread Ralph Shnelvar
Is Ruby on Rails Talk moderated? I submitted a new topic several hours ago and it has not shown up. I'm wondering if I did something wrong. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop

[Rails] How to trace a html button non-event? (Rails Authorization With Pundit)

2017-07-04 Thread Ralph Shnelvar
This is my first post here. Comments on style, etc., are appreciated. An answer is even more appreciated. This is a continuation of my question at https://stackoverflow.com/questions/44856528/how-to-trace-a-html-button-non-event-rails-authorization-with-pundit The problem: Figure 1: I have a

[Rails] Slightly off topic: Rails redirects, etc.

2012-04-19 Thread Ralph Shnelvar
, is a good start, I guess, but I want even more basic tutorial-like information. Even a basic book recommendation would be appreciated. Ralph Shnelvar -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email

[Rails] REST in Rails: A Frustration

2012-04-15 Thread Ralph Shnelvar
Rails controllers to expose resources that don't fit this simple model. - - - - Has this changed? They wrote that paragraph for Rails 1.2 but I don't know Rails well enough to know if Rails can be RESTful with more complex patterns. Ralph Shnelvar -- You received this message because you

Re[2]: [Rails] REST in Rails: A Frustration

2012-04-15 Thread Ralph Shnelvar
Walter, Sunday, April 15, 2012, 7:02:36 PM, you wrote: WLD On Apr 15, 2012, at 12:10 PM, Ralph Shnelvar wrote: Back in 2007 Leonard Richardson Sam Ruby wrote a book called *RESTFUL Web Services* (O’Reilley Media Inc.) On page 173 they wrote: - - - - These two resources, a list

[Rails] RoR server as client

2012-04-12 Thread Ralph Shnelvar
Noob question: What facilities would I use to make an RoR project act as a client of another server? Ralph Shnelvar -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com

[Rails] Protecting code of cookie cutter web sites

2012-04-09 Thread Ralph Shnelvar
because of user-settable configuration files. I haven't started coding yet so I am looking for recommendations. Ralph Shnelvar -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk

Re[2]: [Rails] Protecting code of cookie cutter web sites

2012-04-09 Thread Ralph Shnelvar
Colin, Monday, April 9, 2012, 8:54:21 AM, you wrote: CL On 9 April 2012 15:44, Ralph Shnelvar ral...@dos32.com wrote: I want to develop code for web sites that I want to sell into a niche market. So how can I protect the RoR code? So let's say that I have two websites: www.sample-x.com

Re[2]: [Rails] Protecting code of cookie cutter web sites

2012-04-09 Thread Ralph Shnelvar
Bill, Monday, April 9, 2012, 9:07:27 AM, you wrote: BW Hi Ralph, BW On Mon, Apr 9, 2012 at 9:44 AM, Ralph Shnelvar ral...@dos32.com wrote: So how can I protect the RoR code? BW The only real protection available for software today, whether it's BW fully visible as in RoR or compiled, is via

[Rails] Server asking web service

2012-04-09 Thread Ralph Shnelvar
www.MyQuantumSupercomputerWebsite.com while processing the request from the client and do it all synchronously? That is, what RoR functionality would I use to make all this happen? Ralph Shnelvar -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post

Re: [Rails] Re: Rails PHP

2012-04-07 Thread Ralph Shnelvar
RoR to a PHP-driven website? Ralph Shnelvar Depends on what you mean by "PHP-driven" - if it's doing its own URL rewriting (Wordpress's clean URLs, for instance) you're probably best served putting the Rails stuff on a subdomain or in a subdirectory. On the other hand, if it's a plain

[Rails] Rails PHP

2012-04-06 Thread Ralph Shnelvar
I am inheriting a legacy PHP website and I want to add a few Rails pages. Is there anyone who can recommend some info on how to add RoR to a PHP-driven website? Ralph Shnelvar -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post

Re[2]: [Rails] Rails PHP

2012-04-06 Thread Ralph Shnelvar
. JFB On Apr 6, 2012, at 4:14 PM, Walter Lee Davis wrote: On Apr 6, 2012, at 3:53 PM, Ralph Shnelvar wrote: I am inheriting a legacy PHP website and I want to add a few Rails pages. Is there anyone who can recommend some info on how to add RoR to a PHP-driven website? I've never

Re[2]: [Rails] New to ROR

2012-03-14 Thread Ralph Shnelvar
Title: Re[2]: [Rails] New to ROR Rai, People have given you good advice. Let me give me give you a little more advice. The documentation is maintained by volunteers. The documentation in some of the Rails tutorials are mostly right but are sometimes either wrong or ambiguous. I know because

Re[2]: [Rails] Ruby Developer position

2012-02-09 Thread Ralph Shnelvar
Thursday, February 9, 2012, 2:53:54 PM, you wrote: SR On Feb 9, 2012, at 2:13 PM, Dave Aronson wrote: Frankly if I were hiring, I'd put a line in the note that specifically says to contact me off-list (the rest of the people here wouldn't give a fig about any given respondent's

Re: [Rails] assest pipeline how to exclude some css files?

2012-01-05 Thread Ralph Shnelvar
Thursday, January 5, 2012, 9:25:03 AM, you wrote: M In my assets I have M intranet M |_1.css.scss M |_2.css.scss M internet M |_1.css.csss M application.css M application_internet.css M application_intranet.css M 1.css.scss M 2.css.scss M 3.css.scss M intranet and internet are

[Rails] File size of web-based flv. Reading some bytes from a web-based file.

2012-01-03 Thread Ralph Shnelvar
. Are there RoR and/or Ruby facilities to do this? Ralph Shnelvar -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails

Re[2]: [Rails] File size of web-based flv. Reading some bytes from a web-based file.

2012-01-03 Thread Ralph Shnelvar
-minute-commercial-027.flv from (irb):2:in `size' from (irb):2 from C:/RailsInstaller/Ruby1.9.2/bin/irb:12:in `main' irb(main):003:0 So File.size() seems to work on local files and not web-based files. I'll take this to the ruby chat list. Ralph Shnelvar -- You received

Re[2]: [Rails] Conflicting libraries: jQuery.js accordion.js

2012-01-01 Thread Ralph Shnelvar
})(jQuery); ZS On Fri, Dec 30, 2011 at 2:21 PM, Ralph Shnelvar ral...@dos32.com wrote: I have a library conflict between jQuery.js accordion.js The first line of accordion.js is  $(document).ready(function() { Firebug displays  $(document).ready is not a function I have read http

[Rails] Calling a function inside of (function($) {})(jQuery);

2012-01-01 Thread Ralph Shnelvar
, modify the onclick so that the function can be called? Is there a javascript/jQuery forum that you can recommend? Ralph Shnelvar -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk

Re[2]: [Rails] bundle --deployment --no-deployment

2011-12-31 Thread Ralph Shnelvar
or me. Gautam Pai On Sat, Dec 31, 2011 at 6:57 AM, Ralph Shnelvar ral...@dos32.com wrote: So O have a working 3.1.2 application. I had done a bundle install --deployment Now I want to add nokogiri so I added gem 'nokogiri' to the Gemfile I then did - - - - c:\RailsInstaller\Sites\ultrad

Re[2]: [Rails] Conflicting libraries: jQuery.js accordion.js

2011-12-31 Thread Ralph Shnelvar
Friday, December 30, 2011, 7:09:08 PM, you wrote: CW On Fri, 2011-12-30 at 12:21 -0700, Ralph Shnelvar wrote: I have a library conflict between jQuery.js accordion.js The first line of accordion.js is $(document).ready(function() { Firebug displays $(document).ready

Re[4]: [Rails] bundle --deployment --no-deployment

2011-12-31 Thread Ralph Shnelvar
Hassan, Am I even able to do a bundle whatever on the server they provide? HS You don't need to; Heroku uses your Gemfile to make the required HS gems available to the app at deployment. Dear God! One sentence and everything snaps into focus. Thank you! Question: Does that mean I can't

Re[6]: [Rails] bundle --deployment --no-deployment

2011-12-31 Thread Ralph Shnelvar
Hassan, Saturday, December 31, 2011, 11:27:29 AM, you wrote: HS On Sat, Dec 31, 2011 at 10:18 AM, Ralph Shnelvar ral...@dos32.com wrote: Question:  Does that mean I can't add more gems to the gemfile when I do the next upload? HS No, each deployment reads the Gemfile and loads what it needs

[Rails] Conflicting libraries: jQuery.js accordion.js

2011-12-30 Thread Ralph Shnelvar
I have a library conflict between jQuery.js accordion.js The first line of accordion.js is $(document).ready(function() { Firebug displays $(document).ready is not a function I have read http://docs.jquery.com/Using_jQuery_with_Other_Libraries. This link is an explanation of how to

[Rails] bundle --deployment --no-deployment

2011-12-30 Thread Ralph Shnelvar
:\RailsInstaller\Sites\ultradedup002 bundle install --deployment - - - - What's going on? Why do I need to go through these contortions? Ralph Shnelvar -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails

  1   2   3   4   >