--Hi Everyone,Need help on Ubuntu 18.04, can someone help me in suggesting any google group to fix it.Hp Laptop with Intel® Core™ i5-4200M CPU @ 2.50GHz × 4, I have updated my Ubuntu from 16.04 to 18.04 all was fine initially and updating my software as I get the updates. From past one week my wifi was dropping all of a sudden and then from past couple of days wifi itself is not detecting in my ubuntu. I have tried few solutions after googling but did not fix. Can you kindly help me how can I fix it.
Output for sudo lshw -C network
*-network UNCLAIMED
description: Network controller
product: QCA9565 / AR9565 Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:0f:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:b7500000-b757ffff memory:b7580000-b758ffff
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2a1bed7d-8ba9-47e5-bd1d-fb24a060f50d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADuEqHJ9T4cO9qhfsoktA5E6vOD4xsTZZs8B7dSo5tEnpxzGwA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Output for sudo lshw -C network
*-network UNCLAIMED
description: Network controller
product: QCA9565 / AR9565 Wireless Network Adapter
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:0f:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:b7500000-b757ffff memory:b7580000-b758ffff
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2a1bed7d-8ba9-47e5-bd1d-fb24a060f50d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, 28 Aug 2018 at 17:29, Jason Hsu, Ruby on High Speed Rails
<jhsu802701@gmail.com> wrote:
>
> Yes, I'm talking about GitHub. I know how to fork a project. I can create a new branch and then submit the branch as a pull request.
>
> What I'm not clear on is how to add elements to the project (like the Bash scripts and Ruby gems) to my version of the project, submit a pull request that omits these particular personal elements, and update my version of the project from the original WITHOUT losing my personal elements.
OK, create your working branch and add your personal bits. You will
never issue a PR using that branch.
To update your repository when there are changes in the original see
https://help.github.com/articles/syncing-a-fork/
Then with your branch checked out you can do
git rebase master
to move your bits to the tip of master. Obviously if the working
branch on the main repo is not master then rebase to that.
It gets a bit fiddly if you want to issue a PR, I have done this by
starting a new branch on my personal branch and making the changes
there. Once that is all working rebase that branch onto master so you
can issue the PR.
Colin
>
> --
> 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+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/35b9e2ab-f9e1-499a-b895-31dc708d1183%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLu6d6KAz5M89qq%3Dn9WyRkim84XK69hktRU7XCt%2BdOLrdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
What I'm not clear on is how to add elements to the project (like the Bash scripts and Ruby gems) to my version of the project, submit a pull request that omits these particular personal elements, and update my version of the project from the original WITHOUT losing my personal elements.
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/35b9e2ab-f9e1-499a-b895-31dc708d1183%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Exactly how you do it depends on where the repository is. Are we
talking github?
Which bit don't you know how to do? If it is basic git operation help
you need then there are many tutorials out there.
Colin
On Tue, 28 Aug 2018 at 17:09, Jason Hsu, Ruby on High Speed Rails
<jhsu802701@gmail.com> wrote:
>
> Let's say that the project I'd like to work on is other_user/project1. I clone this project, and my version is myself1/project1. How do I proceed?
>
> --
> 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+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3d9a72df-4230-4f5b-af17-50d571f4ae6f%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLus%2BPcG8PrzURN_GURGRfCBriFeNcz-6BOsejqY_sGtvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3d9a72df-4230-4f5b-af17-50d571f4ae6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, 28 Aug 2018 at 16:10, Jason Hsu, Ruby on High Speed Rails
<jhsu802701@gmail.com> wrote:
>
> As you know, a way to contribute to a project without being a collaborator is to fork a project, create a branch, make the changes in your new branch, and submit the new branch as a pull request.
>
> There are certain things I'd like to add to a project (like Bash scripts and the annotate, rails-erd, and railroady gems), but the project collaborators don't want them. I understand now that they don't expect me to suck it up and do things their way. Instead, they want me to keep those features on just my own personal branch but push other changes.
>
> How do I go about doing this? Do I make the changes to my personal fork's master branch or a different branch? When the upstream repository is updated, how do I update my personal branch to incorporate these changes WITHOUT wiping out my personal features?
The technique I use is to make my personal changes on a branch. Then
when the master is updated you can rebase the branch onto the tip of
master.
Colin
>
> --
> 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+unsubscribe@googlegroups.com.
> To post to this group, send email to rubyonrails-talk@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/dd563618-24c8-408c-b0aa-12a41f50bdf5%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLv%2Ba%2B0No2iRBjFJrBtbau%3DiaF04yAuU31XNLYvZ_UM%2BcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
There are certain things I'd like to add to a project (like Bash scripts and the annotate, rails-erd, and railroady gems), but the project collaborators don't want them. I understand now that they don't expect me to suck it up and do things their way. Instead, they want me to keep those features on just my own personal branch but push other changes.
How do I go about doing this? Do I make the changes to my personal fork's master branch or a different branch? When the upstream repository is updated, how do I update my personal branch to incorporate these changes WITHOUT wiping out my personal features?
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/dd563618-24c8-408c-b0aa-12a41f50bdf5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
How do I use active storage to dynamically set the background image CSS attribute of a div?--I tried this <div style="background: url(<%= image_tag(url_for(@product.image))%>">but image is not displayed
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d48ce1cd-c64e-46d0-a567-25f652f35f30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAP19LVVKAffnXbgY48kEDyUC5ucu7gUD7x_BhKLb3SrwWNoohg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
what's your id on gitter?--
On Monday, August 27, 2018 at 10:28:37 AM UTC-4, Mario Antoniali wrote:Thank you very much for your help. We finally found someone to help us already but we appreciate your assistance.Have a good one!Le dim. 26 août 2018 à 18:19, Joe Guerra <JGu...@jginfosys.com> a écrit :Hey, what's your handle on gitter (TOP). I'm on The Odin Project too.--I can give you some assistance.
On Friday, August 24, 2018 at 9:18:53 AM UTC-4, Mario Antoniali wrote:Hello everyone!A couple of months ago my team an I started to follow a boot camp (a french fork of The Odin Project) to learn Ruby and Ruby on Rails. Today we are almost at the end of our training.To complete the program we need to do a project : an app or a website with the different elements we learned during the last weeks. We chose to create a sport community app. We'll give you more details about it in PM.One of the things we are asked for is to have a Mentor.We are searching for a mentor that could help us thru our project. It is really not that much of a time, 1 hour or 2 per week for 2 weeks will be enough.Thank you in advance for your support!Mario Antoniali
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/uYMkhK1BjKQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/80c1ba83-6c5a-476e-a210-8411275f9d23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/uYMkhK1BjKQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9bd7c61d-03b5-43d3-a94c-10f94d7a9971%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAJK6ZPkCx35mYYP3rrRQ4atdF8orMSDnf-x14s4hvTACuU_1Ng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Re: Permission Denied error when trying to connect to Solr running on a different server
On Monday, August 27, 2018 at 7:21:51 PM UTC-4, Hassan Schroeder wrote:
On Mon, Aug 27, 2018 at 1:23 PM Cynde Rogers <cynde...@gmail.com> wrote:
>
> It was an apache config issue. The SELinux on the machine was not allowing apache to talk to port 8983. I verified this by temporarily turning off the enforcement (setenforce 0). Once I did this I was able to run search as expected.
Ah, does that mean you're running Passenger on Apache httpd?
Didn't think about SELinux either, but thanks for letting us know what
fixed it!
--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0b2ca637-b316-48a7-ac56-2ded6586f880%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Re: [Rails] Re: Permission Denied error when trying to connect to Solr running on a different server
On Mon, Aug 27, 2018 at 1:23 PM Cynde Rogers <cyndefromva@gmail.com> wrote:
>
> It was an apache config issue. The SELinux on the machine was not allowing apache to talk to port 8983. I verified this by temporarily turning off the enforcement (setenforce 0). Once I did this I was able to run search as expected.
Ah, does that mean you're running Passenger on Apache httpd?
Didn't think about SELinux either, but thanks for letting us know what
fixed it!
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yDL5LA0KEx%3DD0pFV4B%2BRa7n3Q1JB6yy10Qbz0UfPCvtOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
On Saturday, August 25, 2018 at 4:58:36 PM UTC+12, David Merrick wrote:
When I submit the form to StripeI am generating the stripe token.inPOST /v1/tokens
Response body{"object": "token","card": {"id": "card_1D2tSkISUkCPHLGnENkY88xy","object": "card","address_city": null,"address_country": null,"address_line1": null,"address_line1_check": null,"address_line2": null,"address_state": null,"address_zip": null,"address_zip_check": null,"brand": "Visa","country": "US","cvc_check": "unchecked","dynamic_last4": null,"exp_month": 8,"exp_year": 2018,"funding": "credit","last4": "4242","metadata": {},"name": null,"tokenization_method": null},"client_ip": "125.239.133.236","created": 1535171606,"livemode": false,"type": "card","used": false}but its not showing up inPOST /v1/customers
Request POST body{"email": "merrickdav@hotmail.com"}The source variable with the stripe token should show below the email variable.Any help would be appreciated as I gave some one E.B Adair California Rails job which I could have kept.Cheers Dave
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.
Cell 027 3089 169
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2B%3DMcKYQsUVC1xrzJJa%3DXW02mvc%3DhjT%3DO3CA-4y1RJhm-eHx%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
class UsersController < ApplicationController
before_action :logged_in_user, only: [:index, :edit, :update, :destroy,
:following, :followers]
before_action :correct_user, only: [:edit, :update]
before_action :admin_user, only: :destroy
def index
@users = User.where(activated: true).paginate(page: params[:page])
end
def show
@user = User.find(params[:id])
redirect_to root_url and return unless @user.activated?
end
def new
@user = User.new
end
def create
@user = User.new(user_params)
#@user = User.new(params[:subscription])
if @user.save_with_payment
@user.send_activation_email
flash[:info] = "Please check your email to activate your account."
redirect_to root_url
else
render 'new'
end
end
def edit
@user = User.find(params[:id])
end
def update
@user = User.find(params[:id])
if @user.update_attributes(user_params)
flash[:success] = "Profile updated"
redirect_to @user
else
render 'edit'
end
end
def destroy
User.find(params[:id]).destroy
flash[:success] = "User deleted"
redirect_to users_url
end
private
def user_params
params.require(:user).permit(:name, :email, :password,
:password_confirmation)
end
# Confirms the correct user.
def correct_user
@user = User.find(params[:id])
redirect_to(root_url) unless current_user?(@user)
end
# Confirms an admin user.
def admin_user
redirect_to(root_url) unless current_user.admin?
end
end
class User < ApplicationRecord
attr_accessor :remember_token, :activation_token, :reset_token, :stripe_card_token
before_save :downcase_email
before_create :create_activation_digest
validates :name, presence: true, length: { maximum: 50 }
VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i
validates :email, presence: true, length: { maximum: 255 },
format: { with: VALID_EMAIL_REGEX },
uniqueness: { case_sensitive: false }
has_secure_password
validates :password, presence: true, length: { minimum: 6 }, allow_nil: true
def save_with_payment
if valid?
@amount = 2000
customer = Stripe::Customer.create(
:email => params[:stripeEmail],
:source => params[:stripeToken]
)
charge = Stripe::Charge.create(
:customer => customer.id,
:amount => @amount,
:description => 'Rails Stripe customer',
:currency => 'usd'
)
puts "Customer is #{customer}"
puts "Charge is #{charge}"
#customer = Stripe::Customer.create(description: email, card: stripe_card_token)
#puts "Customer is #{customer}"
self.stripe_customer_token = customer.id
save!
end
#rescue Stripe::InvalidRequestError => e
#logger.error "Stripe error while creating customer: #{e.message}"
#errors.add :base, "There was a problem with your credit card."
#false
end
# Returns the hash digest of the given string.
def User.digest(string)
cost = ActiveModel::SecurePassword.min_cost ? BCrypt::Engine::MIN_COST :
BCrypt::Engine.cost
BCrypt::Password.create(string, cost: cost)
end
# Returns a random token.
def User.new_token
SecureRandom.urlsafe_base64
end
# Remembers a user in the database for use in persistent sessions.
def remember
self.remember_token = User.new_token
update_attribute(:remember_digest, User.digest(remember_token))
end
# Returns true if the given token matches the digest.
def authenticated?(attribute, token)
digest = send("#{attribute}_digest")
return false if digest.nil?
BCrypt::Password.new(digest).is_password?(token)
end
# Forgets a user.
def forget
update_attribute(:remember_digest, nil)
end
# Activates an account.
def activate
update_columns(activated: true, activated_at: Time.zone.now)
end
# Sends activation email.
def send_activation_email
UserMailer.account_activation(self).deliver_now
end
# Sets the password reset attributes.
def create_reset_digest
self.reset_token = User.new_token
update_attribute(:reset_digest, User.digest(reset_token))
update_attribute(:reset_sent_at, Time.zone.now)
end
# Sends password reset email.
def send_password_reset_email
UserMailer.password_reset(self).deliver_now
end
# Returns true if a password reset has expired.
def password_reset_expired?
reset_sent_at < 2.hours.ago
end
# Returns a user's status feed.
private
# Converts email to all lower-case.
def downcase_email
email.downcase!
#self.email = email.downcase
end
# Creates and assigns the activation token and digest.
def create_activation_digest
self.activation_token = User.new_token
self.activation_digest = User.digest(activation_token)
end
end
Stripe.api_key = 'sk_test_t3fTSthCbyYJQofGSmZcB5Ws'
STRIPE_PUBLIC_KEY = 'pk_test_2rGQe79ZkKf1ZZlRSInaCNvW'
POST /v1/tokens
{"object": "token","card": {"id": "card_1D2tSkISUkCPHLGnENkY88xy","object": "card","address_city": null,"address_country": null,"address_line1": null,"address_line1_check": null,"address_line2": null,"address_state": null,"address_zip": null,"address_zip_check": null,"brand": "Visa","country": "US","cvc_check": "unchecked","dynamic_last4": null,"exp_month": 8,"exp_year": 2018,"funding": "credit","last4": "4242","metadata": {},"name": null,"tokenization_method": null},"client_ip": "125.239.133.236","created": 1535171606,"livemode": false,"type": "card","used": false}but its not showing up inPOST /v1/customers
Request POST body{"email": "merrickdav@hotmail.com"}The source variable with the stripe token should show below the email variable.Any help would be appreciated as I gave some one E.B Adair California Rails job which I could have kept.Cheers Dave
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.
Cell 027 3089 169
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2B%3DMcKbt1qKb3CKwvB0WFXxo0ZFX7Ya1g9wyMdUgStN8sLLg%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
rgumentError in Devise::PasswordsController#create
wrong number of arguments (given 3, expected 1..2)
25 26 27 28 29 30 |
|
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMe9DSso-edW2pn1ji%3D%3DNcLVCVi5VVRZtRrwuCS%3DiR2eng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d48ce1cd-c64e-46d0-a567-25f652f35f30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
semanage port -a -t http_port_t -p tcp 8983
On Friday, August 24, 2018 at 11:57:14 AM UTC-4, Cynde Rogers wrote:
true - I can manually reindex from the command line on my application server and the index is updated on the solr servertrue - I can search from the rails console on my application server and data is returned from the solr serverI'm not sure about the last one; when I use ps -ef all of the processes (http, rails console, sunspot:solr:reindex) are all started by me (except for the root http process which gets started by root).FYI: We didn't add any users to solr; its the default setup; also the web application uses SSL.
On Friday, August 24, 2018 at 9:18:53 AM UTC-4, Cynde Rogers wrote:I have an SSL enabled ruby on rails application that used solr and the sunspot rails gem for search. For development I just run solr locally and that works as expected. But I'm trying to set up a stand-alone solr server for production. So I installed it on its own server and created the core for my site. I also copied over the sunspot schema.xml and solrconfig.xml files from my project to the data/conf directory on the solr server.I updated my application config file to point to the solr server and was able to populate the index for my site from the command line using rails sunspot:solr:reindex (so the application server can communicate with the solr server). I was able to verify this by accessing the Solr Dashboard web page for the solr server; I can see that my data is there (the numDocs matches with what I'd expect). I was also able to run search from my rails consoleBut when I try to access search through my web application I'm getting Errno::EACCES in SearchController#index Permission denied - connect(2) for "10.76.42.43" port 8983. (10.76.42.43 is the IP address of my solr server).
Normally this is some sort of file permission issue but I'm not really what file(s) could be causing the problem. I can't find anything written in the solr logs on the solr server.I'm using the default setup for solr using java 1.8 and solr 5.4.1; jetty is the service (java -server owned by solr). The install directory is /opt/solr (owned by root) and the data directory is in /var/solr (owned by solr). I tried changing the owner for /opt/solr but get the same results.Anybody face the same issue and if so what did you do to fix it? I really would appreciate any help I could get.
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+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/788e89fc-344c-458b-ad92-747ef560ecdd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.