Dec 8, 2018 13:46
i am trying to solve this from many days. I tryed a lot, i could not solve so finally i posted
Dec 8, 2018 13:41
else some of the features wont work, such as login
Dec 8, 2018 13:40
my app needs to run on 3000 port , its designed like that
Dec 8, 2018 13:38
i know i have faced a lot of such things
Dec 8, 2018 13:20
do we have solut for this
Dec 8, 2018 13:16
so when i started working on this i am facing prob
Dec 8, 2018 13:15
this proj runs on 3000
Dec 8, 2018 13:15
so i never faced the issue
Dec 8, 2018 13:15
but i used always run on 8000
Dec 8, 2018 13:15
no ..
Dec 8, 2018 13:10
ntg worked
Dec 8, 2018 13:10
i have done this too and selected tcp and added port 3000
Dec 8, 2018 12:55
sushma@LAPTOP-7F0M4N43:/mnt/c/Users/Sushma/Desktop/ivycamp.in$ rails s
/home/sushma/.rvm/gems/ruby-2.4.1/gems/railties-5.1.6/lib/rails/app_loader.rb:40: warning: Insecure world writable dir /home/sushma/.rvm/gems/ruby-2.4.1/bin in PATH, mode 040777
=> Booting Puma
=> Rails 5.0.2 application starting in development on http://localhost:3000
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.8.2 (ruby 2.4.1-p111), codename: Sassy Salamander
* Min threads: 5, max threads: 5
Dec 8, 2018 12:32
what can i do
Dec 8, 2018 12:30
sushma@LAPTOP-7F0M4N43:/mnt/c/Users/Sushma/Desktop/ivycamp.in$ sudo rails s
sudo: rails: command not found
sushma@LAPTOP-7F0M4N43:/mnt/c/Users/Sushma/Desktop/ivycamp.in$ rails -v
/home/sushma/.rvm/gems/ruby-2.4.1/gems/railties-5.1.6/lib/rails/app_loader.rb:40: warning: Insecure world writable dir /home/sushma/.rvm/gems/ruby-2.4.1/bin in PATH, mode 040777
Rails 5.0.2
sushma@LAPTOP-7F0M4N43:/mnt/c/Users/Sushma/Desktop/ivycamp.in$
Dec 8, 2018 12:28
no rails its der.. when i do rails -v it shows the version
Dec 8, 2018 12:26
i get this sudo: rails: command not found
Dec 8, 2018 12:25
but not for 3000
Dec 8, 2018 12:25
its not, it works for other ports
Dec 8, 2018 12:23
im using bash
Dec 8, 2018 12:22
ya im on windows 10
Dec 8, 2018 12:22
hmm is this system prob
Dec 8, 2018 12:12
@claeusdev i tryed that too.. ntg is working
Dec 8, 2018 11:45
oh no.. is there anything else for me to make this work
Dec 8, 2018 11:44
ls shows no result
Dec 8, 2018 11:44
mycomp@LAPTOP-7F0M4N43:/mnt/c/Users/Desktop/camp.in$ cd tmp/pids mycomp@LAPTOP-7F0M4N43:/mnt/c/Users/Desktop/camp.in/tmp/pids‌​$ when i type cd tmp/pids , it simplys redirects to the path thats it
Dec 8, 2018 11:44
ya sure we can try globally. even this cmd gives me no result
Dec 8, 2018 11:44
when i type cd tmp/pids i see no results
 
Nov 27, 2018 08:11
Thanks fa the help:)
Nov 27, 2018 08:11
@ray yes u were right. I solved this
Nov 26, 2018 11:02
for all the links it gets updated
Nov 26, 2018 11:02
for me else condt is not rendering
Nov 26, 2018 11:01
is this correct
Nov 26, 2018 11:01
and set the expiry_date and passed it in update action
Nov 26, 2018 11:00
def edit
#startup_params[:expiry_date]= Time.now + 10.seconds
@startup = Startup.find(params[:id])
@startup.expiry_date = Time.now + 60.seconds
@startup.save
@funds = @startup.funds.build
end

def update_startup_details
binding.pry
@startup = Startup.find(params[:id])
if @startup.expiry_date < Time.now && @startup.update_attributes(startup_params)
redirect_to dashboard_path, notice: 'Startup was successfully updated.'
else
render :edit, notice: "session expired"
end
end
Nov 26, 2018 11:00
i have added the column in startup table
Nov 26, 2018 09:22
can you help me
Nov 26, 2018 09:22
i am new to ruby , there is some syntax error
Nov 26, 2018 09:22
is this the way to assign the value
Nov 26, 2018 09:20
i have added the column of expiry_date and initialized the value @startup = Startup.find(:expiry_date => Time.now + 10min)
Nov 26, 2018 09:19
@ray
Nov 26, 2018 09:19
thanks ray. il try to implement this
Nov 26, 2018 09:19
@roy when he click the edit link in the mail , he should have 24HOURS time to edit it , later it should expire. So it should reactivate when we mail the link
Nov 26, 2018 09:19
I am trying to achive case 2. So basically should I create a DB coulmn as expiry_date , and then set the value to some time and then send the expiry_date in the url
 
Aug 11, 2018 06:42
i have also rendered the purchase date in index, it shows perfectly but the booking status i am not able to show
Aug 11, 2018 06:40
@KedarnagMukanahallipatna from booking id it can get to know from for which particular it needs to update rite.
Aug 10, 2018 09:00
see the thing is when someone fills the form , the bookings gets created and when i redirect to paypal page and i dnt do the booking , if at this time status becomes completed then the scenario goes wrong, that is the reason i was trying to fetch the status compele only after the ivoice generation
Aug 10, 2018 08:50
this is what the whole process is
Aug 10, 2018 08:50
when the user wants to book for a course , a form appears after filling all the details this page wil be redirected to paypal one and after the payment success the email wil be generated with the confirmation msg in our site
Aug 10, 2018 08:48
the payment is for booking a course