| ⌘T | go to file |
| ⌘⌃P | go to project |
| ⌘R | go to methods |
| ⌃G | go to line |
| ⌘KB | toggle side bar |
| ⌘⇧P | command prompt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # URI: PUT /admin/retrieve-password | |
| def retrieve_password | |
| if admin = retrieve_password_valid? | |
| password = User.generate_random_password | |
| sites = update_password(params[:email], password) | |
| if sites.present? | |
| flash.notice = blurb(:admin_password_reset_notice) + site_list(sites) | |
| AdminMailer.reminder(admin, password).deliver | |
| else | |
| flash.alert = blurb(:admin_password_not_changed) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [trey@core-test1 site]$ ant publish-rc | |
| Buildfile: /web/project/indiana.lawyer/site/build.xml | |
| init: | |
| [echo] ========== Building indiana.lawyer.site ========== | |
| clean: | |
| init2: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Public: Displays the kicker field for an article | |
| # | |
| # article - the Article you want to display the kicker for | |
| # element - a String representing the html element you want surrounding the kicker | |
| # clazz - a String representing the class of the html element | |
| # attributes - a Hash of addition attributes to place in the html element | |
| # | |
| # Examples | |
| # | |
| # article_kicker(my_article) |