词汇:get
vt. 获得;变成;使得;受到
相关场景
- You should get familiar with your group.>> Making preparations 1-11
- So that is a very quick tour of Rails, this is a wonderful way of getting started,just to use those scaffold generators and the authentication generators to get something going, get a Hello world out there, start working on your application, and before you know it, you might just be taking your application all the way from Hello World to IPO.
这是Rails的快速浏览,这是一种很好的入门方式,只需使用这些脚手架生成器和身份验证生成器即可开始工作,创建一个Hello world,开始开发你的应用程序,不知不觉中,你可能会把你的应用程序从Hello world一直带到IPO。>> Rails 8.0.1 You are in good company- We're not gonna change that for this little example, but now let's check in that PWA files, and then let's deploy to production one more time. and as you can see, look in the top right corner, when I reload it, we now have that little install icon in Chrome. and if I click that little install icon, I'm gonna get this prompt, and boom! I have a PWA running in production for my Rails application.>> Rails 8.0.1 You are in good company
- As we edit a new dependency, we can hop back in ,reload, and now we're good to go here. as you can see, I first tried to put in a wrong password, we're gonna get this screen, try another email address or password.>> Rails 8.0.1 You are in good company
- There was a 404 here! That's because if we go back to out route file, I have not defined route! And in production, you're not gonna get that screen we saw with the Rails version and the Ruby version, that is only for development.>> Rails 8.0.1 You are in good company
- after going out of his way to help his friend get the job he felt not appreciated but used>> 55-Not a Gold Mine
- Kamal:
- All right, that is very neat. Now, let's go to production! Because of course, you're not just here to create a Hello World app that runs on your own machine, you want to get this out into the world! And rails8 and forward ships with Kamal, a simple tool for deploying your web application anywhere.>> Rails 8.0.1 You are in good company
- When it is nested, we get the fact that it's gonna be slash post slash on slash comments, and we have the association is set up nicely. Now, let's reload! Now it works, we have our comments field underneath. we can add the first comment. And as you can see here, this is my first comment a second ago that was the local time doing its time ago conversion.
当它被嵌套时,我们得到的事实是,它将是斜线后斜线对斜线注释,并且我们已经很好地建立了关联。现在,让我们重新加载!现在它工作了,我们在下面有我们的评论字段。我们可以添加第一条评论。正如你在这里看到的,这是我一秒钟前的第一条评论,当时当地时间正在进行时间转换。>> Rails 8.0.1 You are in good company- We are pacing in the comment, and we're using that same time tag as we were using with the post, but this time, we are going to use time ago, so we get that nice two minutes ago on when something went posted rather than a local time spelled out with AM PM set up.>> Rails 8.0.1 You are in good company
- zoo:
- And we will give it a format for what it should do with UTC timestamp, and turning it into a local time that we can have a look at.So if I reload here, you see it is November 13th, by the time of my recording at 3:28 PM in my local time zone, but actually underneath, the time tag is gonna be in UTC. That means we can cache this, and anyone around the world will still get the time displayed in their local time.>> Rails 8.0.1 You are in good company
- As you can see here, there is now a full WYSIWYG interface for creating the body. It comes with a default set of styles for the toolbar, you can change those, those styles are generated straight into your application, so you can make it look nice for yourself. Let's give some bold and italic text here, you see, that was all that was needed. but I think what's even nicer to look at here is if we do an upload and we add a file, you will see that file gets added with a preview directly to the WYSIWYG editor. And if we save that and we update the post, it is added to the post itself. And that then went through the whole process of doing a direct upload of the file when we dropped it into the editor, that uploads it straight to active storage. And then, we have access to that, and rendering it directly from whatever storage backend active storage is using. In this example , we're just storing on disk, but you could be storing your active storage in S3 or another object storage.>> Rails 8.0.1 You are in good company
- Now, let's install something else here, let's install action_text, that is one of the frameworks that's part of Rails, but it's not set up by default, but you can set it up by running rails action_text:install, that's going to give you a WYSIWYG editor. That's currently powered by Trix! The open source, what you see is what you get editor made in JavaScript! And it also sets up active storage!>> Rails 8.0.1 You are in good company
- And you can help diagnose whatever issue that it is that you have ! But let's remove that again and then let's look at the console from another angle. Now, you can get the console as I just showed you when an exception raised, but you can also get the console if you just run rails console.>> Rails 8.0.1 You are in good company
- Now if we hop back into our editor here, I can add a little bit of styling to make this look slightly nicer than the very basic layout that you get with the scaffold.>> Rails 8.0.1 You are in good company
- variant:
- But oh yeah! Let's show you real quick here,if you do a /post.json, you're gonna get that automatic API as well, as I showed you in the controller, there are two different paths, you have HTML, and you have JSON. You could also have added XML in there or another path, but by default, you just get these two different variants, the HTML and the JSON variant.>> Rails 8.0.1 You are in good company
- So, let's jump into the post controller first. The controller is really what guides all the inbound actions you get into a Rails application, you'll have the user hitting (slash)/posts or /post/new, and it gets routed into the posts controller!>> Rails 8.0.1 You are in good company
- We're gonna start by running 'rails new blog' to get the basic Rails skeleton, let's hop into that skeleton, and then we're gonna generate a scaffold for a post.>> Rails 8.0.1 You are in good company
- every morning we have two options "get up and chase your dreams or go back to bed to see your dreams" never forget this .>> 4 Minutes To Start Your Day Right! MORNING MOTIVATION and Positivity!
- When you listen to tapes, listen with relaxed belief, believing that this can happen for you. And by listening to them, listen to them over and over and over again. And you will get a breakthrough, you can listen to the same tape for months and all of a sudden you hear something you never heard before, and have a special meaning for you. Or you can read the same book over again and you'll find some special insight, you said I can't believe I didn't see that the first time.>> Motivate yourself in the morning
- So you want to work on yourself, you want to read books that inspire you and motivate you, you want to listen to tapes over and over and over again, and I suggest that you listen to tapes when you first get up in the morning. You want to control the spirit of your day, when you first wake up in the morning your mind is operating at 10.5 wave cycles per second. that's when the subconscious mind is most impressionable. Whatever you hear in the first 20 minutes when you wake up, that will affect the spirit of your day.>> Motivate yourself in the morning
- How do you get out that nut? How do you motivate yourself?
你是怎么弄出来的?你如何激励自己?>> Motivate yourself in the morning- Have a thought process around things that are complicated and you'll get better over life.
围绕复杂的事情进行思考,你会在生活中变得更好。>> work hard but work smart- You know you get your thoughts together, have a process in place for decision making. Don't allow yourself to become weaponized. Like at all you know or and don't have it to extend I have a temper. It works against you. You always have to end up apologizing.>> work hard but work smart
- I will pay you back for what you did to me. I'll get my revenge on you for what you did to me.
我会回报你对我所做的一切。我会报复你对我的所作所为。>> 45-A Clear Conscience- get his money back; get her bag back;>> 45-A Clear Conscience